From d78e1d3e5928c850cf56ba481ccabd151cefc8b2 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Mon, 5 Jan 2004 18:26:13 +0000 Subject: [PATCH] Modifies #getPresences(String) to return an iterator on Presences instead of an iterator on Map.Entries git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2201 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/Roster.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/org/jivesoftware/smack/Roster.java b/source/org/jivesoftware/smack/Roster.java index 8ecf7f382..c5888c666 100644 --- a/source/org/jivesoftware/smack/Roster.java +++ b/source/org/jivesoftware/smack/Roster.java @@ -570,7 +570,7 @@ public class Roster { return null; } else { - return userPresences.entrySet().iterator(); + return userPresences.values().iterator(); } }