changed roster to concurrent hashmap

This commit is contained in:
iNPUTmice 2014-06-01 19:17:05 +02:00
parent 32a21e1ab9
commit c17db8e34e
1 changed files with 2 additions and 2 deletions

View File

@ -1,12 +1,12 @@
package eu.siacs.conversations.entities; package eu.siacs.conversations.entities;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.concurrent.ConcurrentHashMap;
public class Roster { public class Roster {
Account account; Account account;
HashMap<String, Contact> contacts = new HashMap<String, Contact>(); ConcurrentHashMap<String, Contact> contacts = new ConcurrentHashMap<String, Contact>();
private String version = null; private String version = null;
public Roster(Account account) { public Roster(Account account) {