-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b22
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8153157 | 8-pool | Ramanand Patil | P4 | Closed | Won't Fix |
In the example in the doc for Collectors.reducing(BinaryOperator), the declaration of tallestByCity should be Map<City, Optional<Person>> instead of Map<City, Person>.
And in the example in the doc for Collectors.reducing(U, Function, BinaryOperator), the reducing() downstream collector call is missing its first (identity) argument.
(Submitted by @raoulUK via Twitter)
And in the example in the doc for Collectors.reducing(U, Function, BinaryOperator), the reducing() downstream collector call is missing its first (identity) argument.
(Submitted by @raoulUK via Twitter)
- backported by
-
JDK-8153157 small errors in Collectors examples
-
- Closed
-
- duplicates
-
JDK-8151612 API Note example is wrong
-
- Closed
-