-
Bug
-
Resolution: Duplicate
-
P5
-
None
-
8u141, 10.0.1, 11.0.1
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);
...
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);
...
- duplicates
-
JDK-8235730 Incorrect javadoc in MatchKind
- Resolved