You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tarin Gamberini (Jira)" <ji...@apache.org> on 2020/08/20 06:43:00 UTC
[jira] [Updated] (NETBEANS-1670) Add defaultSerialVersionUID to all
Serializable classes missing it
[ 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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists