diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-06-01 19:17:05 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-06-01 19:17:05 +0200 |
commit | c17db8e34ec7e2ee6323d0cec34efd2a84a2a38c (patch) | |
tree | 0bab51d16fb47453d163374e653c701133499a97 /src | |
parent | 32a21e1ab94b625e99c125779a03ea29690f9533 (diff) |
changed roster to concurrent hashmap
Diffstat (limited to 'src')
-rw-r--r-- | src/eu/siacs/conversations/entities/Roster.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/entities/Roster.java b/src/eu/siacs/conversations/entities/Roster.java index 1b4bc954..c1e40dbc 100644 --- a/src/eu/siacs/conversations/entities/Roster.java +++ b/src/eu/siacs/conversations/entities/Roster.java @@ -1,12 +1,12 @@ package eu.siacs.conversations.entities; import java.util.ArrayList; -import java.util.HashMap; import java.util.List; +import java.util.concurrent.ConcurrentHashMap; public class Roster { Account account; - HashMap<String, Contact> contacts = new HashMap<String, Contact>(); + ConcurrentHashMap<String, Contact> contacts = new ConcurrentHashMap<String, Contact>(); private String version = null; public Roster(Account account) { |