-
Backport
-
Resolution: Won't Fix
-
P4
-
None
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.
And in the example in the doc for Collectors.reducing(U, Function, BinaryOperator), the reducing() downstream collector call is missing its first (identity) argument.
- backport of
-
JDK-8048989 small errors in Collectors examples
-
- Closed
-