Use Optional.isEmpty instead of !Optional.isPresent in jdk.jlink

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 18
    • Affects Version/s: None
    • Component/s: tools
    • None
    • b17

      Optional.isEmpty() was introduced to avoid negation in long option chains.
      Let's apply this new handy method to JDK code.

            Assignee:
            Andrey Turbanov
            Reporter:
            Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: