From c17db8e34ec7e2ee6323d0cec34efd2a84a2a38c Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Sun, 1 Jun 2014 19:17:05 +0200 Subject: changed roster to concurrent hashmap --- src/eu/siacs/conversations/entities/Roster.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/eu') 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 contacts = new HashMap(); + ConcurrentHashMap contacts = new ConcurrentHashMap(); private String version = null; public Roster(Account account) { -- cgit v1.2.3