aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-06-01 19:17:05 +0200
committeriNPUTmice <daniel@gultsch.de>2014-06-01 19:17:05 +0200
commitc17db8e34ec7e2ee6323d0cec34efd2a84a2a38c (patch)
tree0bab51d16fb47453d163374e653c701133499a97 /src/eu/siacs
parent32a21e1ab94b625e99c125779a03ea29690f9533 (diff)
changed roster to concurrent hashmap
Diffstat (limited to 'src/eu/siacs')
-rw-r--r--src/eu/siacs/conversations/entities/Roster.java4
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) {