nbusy / nbusy-android

NBusy Android app.
http://nbusy.com
Apache License 2.0
1 stars 0 forks source link

Use ImmutableSet wherever possible #136

Open soygul opened 8 years ago

soygul commented 8 years ago

It's iteration order is the same as construction (like LinkedHashSet) and much better to use than arrays or lists which will have dupes (which we never want working with chats/messages).

Varargs is a cool idea for Titan client but apparently not for the main app. We might even convert Titan client to use LinkedHashSet/Set for max security.