From 07f89a78ac8f5a1b62068ac8c369a14d6002afc6 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Mon, 4 Dec 2006 23:52:59 +0000 Subject: [PATCH] Fixed concurrency error. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6303 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 8680cfc61..3ac08e29e 100644 --- a/source/org/jivesoftware/smack/Roster.java +++ b/source/org/jivesoftware/smack/Roster.java @@ -587,7 +587,7 @@ public class Roster implements ConnectionListener { Map userPresences; // Get the user presence map if (presenceMap.get(key) == null) { - userPresences = new HashMap(); + userPresences = new ConcurrentHashMap(); presenceMap.put(key, userPresences); } else {