mirror of
https://github.com/moparisthebest/Conversations
synced 2024-12-25 08:58:55 -05:00
changed roster to concurrent hashmap
This commit is contained in:
parent
32a21e1ab9
commit
c17db8e34e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user