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

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

XMLWordPrintable

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

      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);
              ...

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

              Created:
              Updated:
              Resolved: