IntelliJ IDEA « Just Five Minutes
props to this guy!
Cleaning up code I launched serialver to create serialVersionUIDs for some serializable classes. Wondering why IntelliJ IDEA did not seem to provide a generator for UIDs, I browsed the code inspection settings and it turns out that there actually is one - but it is disabled by default. To use it, go to
Settings -> Errors -> Serialization issues -> Serializable class without ’serialVersionUID’
When editing a Serializable class without a serialVersionUID field set, IDEA now displays a warning and provides a Quickfix (Alt+Enter) to generate one.
props to this guy!
No comments:
Post a Comment