Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years 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 by simon04, 4 years ago

Resolution: fixed
Status: assignedclosed

In 16913/josm:

fix #19698 - Refactoring: make private fields final

comment:2 by simon04, 4 years ago

In 35527/osm:

fix #19698 - Refactoring: make private fields final

comment:3 by simon04, 4 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.