1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-12-14 15:01:07 +01:00

Fix minor codestyle issues

This commit is contained in:
Paul Schaub 2017-12-13 23:10:11 +01:00 committed by Florian Schmaus
parent 200f90ffdc
commit cb18056613
422 changed files with 1404 additions and 1444 deletions

View file

@ -85,7 +85,7 @@ public class XHTMLManager {
/**
* Returns true if the message contains an XHTML extension.
*
* @param message the message to check if contains an XHTML extentsion or not
* @param message the message to check if contains an XHTML extension or not
* @return a boolean indicating whether the message is an XHTML message
*/
public static boolean isXHTMLMessage(Message message) {

View file

@ -99,7 +99,7 @@ public class XHTMLExtension implements ExtensionElement {
*/
public List<CharSequence> getBodies() {
synchronized (bodies) {
return Collections.unmodifiableList(new ArrayList<CharSequence>(bodies));
return Collections.unmodifiableList(new ArrayList<>(bodies));
}
}