Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6521783

Unnecessary final modifier for a method in a final class

XMLWordPrintable

    • b28
    • generic
    • generic

        -
        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.
        -
        -

              serb Sergey Bylokhov
              mlapshin Mikhail Lapshin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: