changed roster to concurrent hashmap

This commit is contained in:
iNPUTmice 2014-06-01 19:17:05 +02:00
parent 32a21e1ab9
commit c17db8e34e

View File

@ -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) {