JDK 9 RFR of JDK-8151785: Doc typo in src/../java/util/stream/PipelineHelper.java
Hamlin Li
huaming.li at oracle.com
Mon Mar 14 03:52:46 UTC 2016
Please help to review the tiny doc typo fix for bug
https://bugs.openjdk.java.net/browse/JDK-8151785
it should be "copyInto(wrapSink(sink), spliterator);", but it is
"intoWrapped(wrapSink(sink), spliterator);", there is no method called
intoWrapped.
diff -r 25e8c082d7ef
src/java.base/share/classes/java/util/stream/PipelineHelper.java
--- a/src/java.base/share/classes/java/util/stream/PipelineHelper.java
Sun Mar 13 20:26:29 2016 +0100
+++ b/src/java.base/share/classes/java/util/stream/PipelineHelper.java
Sun Mar 13 20:46:22 2016 -0700
@@ -98,7 +98,7 @@
* @implSpec
* The implementation behaves as if:
* <pre>{@code
- * intoWrapped(wrapSink(sink), spliterator);
+ * copyInto(wrapSink(sink), spliterator);
* }</pre>
*
* @param sink the {@code Sink} to receive the results
Thank you
-Hamlin
More information about the core-libs-dev
mailing list