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

Incorrect javadoc in MatchKind

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • None
    • core-libs
    • None

        In ./java.base/share/classes/java/util/stream/MatchOps.java

        enum MatchKind {
                /** Do all elements match the predicate? */
                ANY(true, true),

                /** Do any elements match the predicate? */
                ALL(false, false),
                ...
        }

        javadoc is flipped for ANY and ALL.

              aeubanks Arthur Eubanks
              aeubanks Arthur Eubanks
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: