mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-12 05:51:08 +01:00
Fix minor codestyle issues
This commit is contained in:
parent
200f90ffdc
commit
cb18056613
422 changed files with 1404 additions and 1444 deletions
|
|
@ -52,7 +52,7 @@ public class SharedGroupManager {
|
|||
SharedGroupsInfo info = new SharedGroupsInfo();
|
||||
info.setType(IQ.Type.get);
|
||||
|
||||
SharedGroupsInfo result = (SharedGroupsInfo) connection.createStanzaCollectorAndSend(info).nextResultOrThrow();
|
||||
SharedGroupsInfo result = connection.createStanzaCollectorAndSend(info).nextResultOrThrow();
|
||||
return result.getGroups();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ public class SharedGroupsInfo extends IQ {
|
|||
public static final String ELEMENT = "sharedgroup";
|
||||
public static final String NAMESPACE = "http://www.jivesoftware.org/protocol/sharedgroup";
|
||||
|
||||
private List<String> groups = new ArrayList<String>();
|
||||
private final List<String> groups = new ArrayList<>();
|
||||
|
||||
public SharedGroupsInfo() {
|
||||
super(ELEMENT, NAMESPACE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue