mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 22:32:06 +01:00
comment updated
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2071 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
3429142b5c
commit
e4c122209f
1 changed files with 2 additions and 2 deletions
|
@ -276,7 +276,7 @@ public class Roster {
|
|||
*/
|
||||
public Iterator getEntries() {
|
||||
ArrayList allEntries = new ArrayList();
|
||||
// Loop through all roster groups and add their entries to the new RosterExchange
|
||||
// Loop through all roster groups and add their entries to the answer
|
||||
for (Iterator groups = getGroups(); groups.hasNext(); ) {
|
||||
RosterGroup rosterGroup = (RosterGroup) groups.next();
|
||||
for (Iterator entries = rosterGroup.getEntries(); entries.hasNext(); ) {
|
||||
|
@ -286,7 +286,7 @@ public class Roster {
|
|||
}
|
||||
}
|
||||
}
|
||||
// Add the roster unfiled entries to the new RosterExchange
|
||||
// Add the roster unfiled entries to the answer
|
||||
synchronized (unfiledEntries) {
|
||||
allEntries.addAll(unfiledEntries);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue