You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is producing SING_SINGLETON_IMPLEMENTS_SERIALIZABLE, when the class is not a singleton. It has a constant EMPTY field, but that is just utility and there is no real harm to creating multiple empty instances (you will note that the copyOf method does not return EMPTY if the copied set is EMPTY).
The text was updated successfully, but these errors were encountered:
Code like this (somewhat anonymised, but I think this expresses the idea)
is producing SING_SINGLETON_IMPLEMENTS_SERIALIZABLE, when the class is not a singleton. It has a constant EMPTY field, but that is just utility and there is no real harm to creating multiple empty instances (you will note that the copyOf method does not return EMPTY if the copied set is EMPTY).
The text was updated successfully, but these errors were encountered: