8151785: Doc typo in src/../java/util/stream/PipelineHelper.java
Summary: Change from "intoWrapped" to "copyInto".
Reviewed-by: rriggs
Contributed-by: Hamlin Li <huaming.li@oracle.com>
--- a/jdk/src/java.base/share/classes/java/util/stream/PipelineHelper.java Mon Mar 14 16:13:09 2016 -0700
+++ b/jdk/src/java.base/share/classes/java/util/stream/PipelineHelper.java Tue Mar 15 12:38:35 2016 +0800
@@ -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