Singleton lists and singleton sets aren't equal, so use lists

consistently.
This commit is contained in:
akwizgran
2011-11-15 09:42:21 +00:00
parent 0da94879ef
commit 6fd8493d3d
5 changed files with 31 additions and 29 deletions

View File

@@ -1191,7 +1191,8 @@ DatabaseCleaner.Callback {
contactLock.readLock().unlock();
}
// Call the listeners outside the lock
callListeners(new SubscriptionsUpdatedEvent(Collections.singleton(c)));
callListeners(new SubscriptionsUpdatedEvent(
Collections.singletonList(c)));
}
public void receiveTransportUpdate(ContactId c, TransportUpdate t)