mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-23 02:58:00 +01:00
Fixed concurrency error.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6303 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
58a3b60570
commit
07f89a78ac
1 changed files with 1 additions and 1 deletions
|
@ -587,7 +587,7 @@ public class Roster implements ConnectionListener {
|
|||
Map<String, Presence> userPresences;
|
||||
// Get the user presence map
|
||||
if (presenceMap.get(key) == null) {
|
||||
userPresences = new HashMap<String, Presence>();
|
||||
userPresences = new ConcurrentHashMap<String, Presence>();
|
||||
presenceMap.put(key, userPresences);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue