aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/entities/MucOptions.java
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-07-27 18:07:04 +0200
committeriNPUTmice <daniel@gultsch.de>2014-07-27 18:07:04 +0200
commit2e080401b1645bd7f7d4804d37d953050d07a9d1 (patch)
tree9542fb472205bdf62494c0adcdfb0bbbb6499875 /src/eu/siacs/conversations/entities/MucOptions.java
parent29f089c95468357e92c104dd693277f583c77d79 (diff)
migrated some ArrayLists to CopyOnWriteArrayLists
Diffstat (limited to 'src/eu/siacs/conversations/entities/MucOptions.java')
-rw-r--r--src/eu/siacs/conversations/entities/MucOptions.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/entities/MucOptions.java b/src/eu/siacs/conversations/entities/MucOptions.java
index 0bb9b295..3bce5111 100644
--- a/src/eu/siacs/conversations/entities/MucOptions.java
+++ b/src/eu/siacs/conversations/entities/MucOptions.java
@@ -2,6 +2,7 @@ package eu.siacs.conversations.entities;
import java.util.ArrayList;
import java.util.List;
+import java.util.concurrent.CopyOnWriteArrayList;
import eu.siacs.conversations.crypto.PgpEngine;
import eu.siacs.conversations.xml.Element;
@@ -81,7 +82,7 @@ public class MucOptions {
}
}
private Account account;
- private ArrayList<User> users = new ArrayList<User>();
+ private List<User> users = new CopyOnWriteArrayList<User>();
private Conversation conversation;
private boolean isOnline = false;
private int error = ERROR_ROOM_NOT_FOUND;