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

Use EnumSets instead of an ordinal-based mask

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Withdrawn
    • Icon: P4 P4
    • tbd
    • None
    • javafx
    • None

      EnumSets are a replacements for int masks. Using them is less error-prone and the code is more readable as they use Set operations instead of bitwise operations.

            nlisker Nir Lisker
            nlisker Nir Lisker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: