From e4c122209f66c0763c7f093875a46a77acd9f1c6 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Wed, 27 Aug 2003 21:53:56 +0000 Subject: [PATCH] comment updated git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2071 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/Roster.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/org/jivesoftware/smack/Roster.java b/source/org/jivesoftware/smack/Roster.java index 5186e1323..95846af4f 100644 --- a/source/org/jivesoftware/smack/Roster.java +++ b/source/org/jivesoftware/smack/Roster.java @@ -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); }