Use an EnumSet for DirtyBits instead of an ordinal-based mask

XMLWordPrintable

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

      Node and Scene use a long to keep track of the dirty bits and bitwise operations to manipulate it. The JDK provides the EnumSet class for cases like this, which is safer, more readable, and just as performant. (See item 36 in Effective Java 3rd ed.)

      The current implementations can be replaced easily.

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

              Created:
              Updated:
              Resolved: