Color, Point2D and Point3D's fields should be made final

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • jfx13
    • Affects Version/s: jfx13
    • Component/s: javafx
    • None

      These classes are structured as immutable, but their fields (rgb, xyz) are not declared final. The risk is that these values will be modified internally by mistake. It's safest to make them final.

            Assignee:
            Nir Lisker
            Reporter:
            Nir Lisker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: