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/services/XmppConnectionService.java | |
parent | 29f089c95468357e92c104dd693277f583c77d79 (diff) |
migrated some ArrayLists to CopyOnWriteArrayLists
Diffstat (limited to 'src/eu/siacs/conversations/services/XmppConnectionService.java')
-rw-r--r-- | src/eu/siacs/conversations/services/XmppConnectionService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index c9813d82..3f9b3bfb 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -668,7 +668,7 @@ public class XmppConnectionService extends Service { @Override public void onIqPacketReceived(Account account, IqPacket packet) { Element query = packet.query(); - List<Bookmark> bookmarks = new ArrayList<Bookmark>(); + List<Bookmark> bookmarks = new CopyOnWriteArrayList<Bookmark>(); Element storage = query.findChild("storage", "storage:bookmarks"); if (storage!=null) { for(Element item : storage.getChildren()) { |