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

Add 'final' keyword to public property methods in controls

XMLWordPrintable

    • b09

      Noticed during triage of JDK-8313635 that in ComboBox and other controls the properties (those that are created during initialization), and their corresponding methods such as get*Property(), set*(), get*(), is*() should be declared as final.

      Perhaps this should also apply to Node.hasProperties() and other controls that declare getProperties() and hasProperties(), see JDK-8313650 , although it might be done under a different JBS ticket (and discussion) since the Node properties are not javafx.beans properties.

            angorya Andy Goryachev
            angorya Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: