Details
-
Enhancement
-
Resolution: Fixed
-
P5
-
7
-
b28
-
generic
-
generic
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8056474 | emb-9 | Sergey Bylokhov | P5 | Resolved | Fixed | master |
Description
-
There are three cases where a final method is declared in a final class:
- javax/swing/event/SwingPropertyChangeSupport.java 93 Unnecessary final modifier for method 'isNotifyOnEDT' in final class
- javax/swing/text/GapContent.java 265 Unnecessary final modifier for method 'getOffset' in final class
- javax/swing/text/GapContent.java 287 Unnecessary final modifier for method 'getOffset' in final class
The 'final' modifier should be removed from these method declarations.
-
-
There are three cases where a final method is declared in a final class:
- javax/swing/event/SwingPropertyChangeSupport.java 93 Unnecessary final modifier for method 'isNotifyOnEDT' in final class
- javax/swing/text/GapContent.java 265 Unnecessary final modifier for method 'getOffset' in final class
- javax/swing/text/GapContent.java 287 Unnecessary final modifier for method 'getOffset' in final class
The 'final' modifier should be removed from these method declarations.
-
-
Attachments
Issue Links
- backported by
-
JDK-8056474 Unnecessary final modifier for a method in a final class
- Resolved
- relates to
-
JDK-8061319 JDK9b28: no CCC for removing final modifier from javax.swing.event.SwingPropertyChangeSupport.isNotifyOnEDT
- Closed