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:
parent
200f90ffdc
commit
cb18056613
422 changed files with 1404 additions and 1444 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue