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

Erroneous Javadoc in java.util.stream.MatchOps.MatchKind

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P5
    • Resolution: Duplicate
    • 8u141, 10.0.1, 11.0.1
    • None
    • core-libs

    Description

      The Javadoc in java.util.stream.MatchOps.MatchKind's ANY and ALL enum literals are switched:

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

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

              /** Do no elements match the predicate? */
              NONE(true, false);
              ...

      Attachments

        Issue Links

          Activity

            People

              smarks Stuart Marks
              leder Lukas Eder
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: