hg: jdk/submit: 8231161: Wrong return type in code sample in Collector API documentation
stuart.marks at oracle.com
stuart.marks at oracle.com
Thu Oct 3 20:29:09 UTC 2019
Changeset: e25b317d0350
Author: jboes
Date: 2019-10-03 18:59 +0100
URL: https://hg.openjdk.java.net/jdk/submit/rev/e25b317d0350
8231161: Wrong return type in code sample in Collector API documentation
Summary: Correct declaration of container from R to A and add compilation test
Reviewed-by: smarks, lancea
! src/java.base/share/classes/java/util/stream/Collector.java
+ test/jdk/java/util/stream/test/org/openjdk/tests/java/util/stream/CollectorExample.java
More information about the jdk-submit-changes
mailing list