KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have some static initializer code: someMethodThatTakesAHashMap(new HashMap<K, V>() { { put("a","value-a"); put("c","value-c");} }); For some reason I am receiving a warning from Eclipse: The serializable class does not declare a static final serialVersionUID. Is this complaining about the anonymous class? What can I do about that, or should I just suppress it.
Tags (comma-separated)
Save Edits
Cancel