Refactor the Dimension2D classes

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • jfx26
    • Affects Version/s: jfx23
    • Component/s: javafx
    • None

      There are 3 classes that hold width+height dimensions:
      com.sun.javafx.geom.Dimension2D
      com.sun.javafx.geom.Dimension
      javafx.geometry.Dimension2D

      Having both the inner classes is redundant so one can be removed. The other can be turned into a record. The public class needs to have its fields set to final and could serve to replace both the inner classes.

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

              Created:
              Updated: