1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-02 00:25:10 -04:00

Use a simple HashSet for our listener set since we don't need the

overhead of the CoWASet
This commit is contained in:
Jesse Vincent 2010-07-16 00:38:32 +00:00
parent 19ca87a2d5
commit b21120405e

View File

@ -364,7 +364,7 @@ public class MessagingController implements Runnable
return mListeners;
}
Set<MessagingListener> listeners = new CopyOnWriteArraySet<MessagingListener>(mListeners);
Set<MessagingListener> listeners = new HashSet<MessagingListener>(mListeners);
listeners.add(listener);
return listeners;