1
0
Fork 0
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:
Gaston Dombiak 2003-08-27 21:53:56 +00:00 committed by gdombiak
parent 3429142b5c
commit e4c122209f

View file

@ -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);
}