changed roster to concurrent hashmap
This commit is contained in:
parent
32a21e1ab9
commit
c17db8e34e
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue