changeset 13916:dc4a7fcdd13d

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>
author amlu
date Tue, 15 Mar 2016 12:38:35 +0800
parents dadd5fa365d5
children 668137d6d741
files src/java.base/share/classes/java/util/stream/PipelineHelper.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/util/stream/PipelineHelper.java	Mon Mar 14 16:13:09 2016 -0700
+++ b/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