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

Incorrect javadoc in MatchKind

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 14
    • core-libs
    • None

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: