8151785: Doc typo in src/../java/util/stream/PipelineHelper.java
authoramlu
Tue, 15 Mar 2016 12:38:35 +0800
changeset 36634 c8aa9fa07e5a
parent 36633 0b002b07320d
child 36635 f0147be2f50f
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>
jdk/src/java.base/share/classes/java/util/stream/PipelineHelper.java
--- 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