Modify

Opened 2 months ago

Closed 2 months ago

Last modified 2 months ago

#19698 closed enhancement (fixed)

Refactoring: make private fields final

Reported by: simon04 Owned by: simon04
Priority: minor Milestone: 20.08
Component: Core Version:
Keywords: intellij refactoring Cc:

Description

Reports any fields which may safely be made final. A static field may be final if it is initialized in its declaration or in one static class initializer, but not both. A non-static field may be final if it is initialized in its declaration or in one non-static class initializer or in all constructors.

Attachments (0)

Change History (3)

comment:1 Changed 2 months ago by simon04

Resolution: fixed
Status: assignedclosed

In 16913/josm:

fix #19698 - Refactoring: make private fields final

comment:2 Changed 2 months ago by simon04

In 35527/osm:

fix #19698 - Refactoring: make private fields final

comment:3 Changed 2 months ago by simon04

In 16916/josm:

see #19698 - Java Warnings, PMD

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain simon04.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.