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

Unnecessary final modifier for a method in a final class

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b28
    • CPU:
      generic
    • OS:
      generic

      Backports

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

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: