diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-07-27 18:07:04 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-07-27 18:07:04 +0200 |
commit | 2e080401b1645bd7f7d4804d37d953050d07a9d1 (patch) | |
tree | 9542fb472205bdf62494c0adcdfb0bbbb6499875 /src/eu/siacs/conversations/entities/Account.java | |
parent | 29f089c95468357e92c104dd693277f583c77d79 (diff) |
migrated some ArrayLists to CopyOnWriteArrayLists
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/entities/Account.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/entities/Account.java b/src/eu/siacs/conversations/entities/Account.java index b19889bf1..5883788ff 100644 --- a/src/eu/siacs/conversations/entities/Account.java +++ b/src/eu/siacs/conversations/entities/Account.java @@ -1,7 +1,6 @@ package eu.siacs.conversations.entities; import java.security.interfaces.DSAPublicKey; -import java.util.ArrayList; import java.util.List; import java.util.Locale; import java.util.concurrent.CopyOnWriteArrayList; @@ -68,7 +67,7 @@ public class Account extends AbstractEntity{ private Roster roster = null; - private List<Bookmark> bookmarks = new ArrayList<Bookmark>(); + private List<Bookmark> bookmarks = new CopyOnWriteArrayList<Bookmark>(); public List<Conversation> pendingConferenceJoins = new CopyOnWriteArrayList<Conversation>(); public List<Conversation> pendingConferenceLeaves = new CopyOnWriteArrayList<Conversation>(); |