[
https://issues.apache.org/jira/browse/NETBEANS-1670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tarin Gamberini updated NETBEANS-1670:
--------------------------------------
Affects Version/s: 12.1
> Add defaultSerialVersionUID to all Serializable classes missing it
> ------------------------------------------------------------------
>
> Key: NETBEANS-1670
> URL: https://issues.apache.org/jira/browse/NETBEANS-1670
> Project: NetBeans
> Issue Type: Improvement
> Components: java - Refactoring
> Affects Versions: 9.0, 12.1
> Reporter: Tarin Gamberini
> Priority: Major
>
> Currently if I have checked the Serialization checkbox under Tools > Options
> > Editor > Hints > Standard Javac Warnings I can find all classes missing a
> defaultSerialVersionUID.
> Of course if there are many classes I have to open each class and adding a
> defaultSerialVersionUID. Luckily the editor helps me because when I put the
> cursor on the class declaration I type ALT+ENTER and I choose Add
> defaultSerialVersionUID. The problem is that I have to repeat these
> operations for each class.
> I would like adding a defaultSerialVersionUID to all Serializable classes
> which don't has one yet.
> That is a refactoring scenario so I would like to proceed in this way:
> # left click on the project in Projects window
> # click Refactor
> # click Inspect and Transform
> # choose Single Inspection
> # choose Serialization under a Standard Javac Warnings section
> # click Inspect
> # click Transform
> Many thanks for your help,
> Tarin
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists