8043772: Typos in Double/Int/LongSummaryStatistics.java
authorigerasim
Thu, 22 May 2014 20:19:08 +0400
changeset 24513 2b9212fa87d8
parent 24512 edece54a1aee
child 24514 2440b44952d7
8043772: Typos in Double/Int/LongSummaryStatistics.java Reviewed-by: rriggs
jdk/src/share/classes/java/util/DoubleSummaryStatistics.java
jdk/src/share/classes/java/util/IntSummaryStatistics.java
jdk/src/share/classes/java/util/LongSummaryStatistics.java
--- a/jdk/src/share/classes/java/util/DoubleSummaryStatistics.java	Thu May 22 09:15:01 2014 -0700
+++ b/jdk/src/share/classes/java/util/DoubleSummaryStatistics.java	Thu May 22 20:19:08 2014 +0400
@@ -54,7 +54,7 @@
  *
  * @implNote This implementation is not thread safe. However, it is safe to use
  * {@link java.util.stream.Collectors#summarizingDouble(java.util.function.ToDoubleFunction)
- * Collectors.toDoubleStatistics()} on a parallel stream, because the parallel
+ * Collectors.summarizingDouble()} on a parallel stream, because the parallel
  * implementation of {@link java.util.stream.Stream#collect Stream.collect()}
  * provides the necessary partitioning, isolation, and merging of results for
  * safe and efficient parallel execution.
--- a/jdk/src/share/classes/java/util/IntSummaryStatistics.java	Thu May 22 09:15:01 2014 -0700
+++ b/jdk/src/share/classes/java/util/IntSummaryStatistics.java	Thu May 22 20:19:08 2014 +0400
@@ -54,7 +54,7 @@
  *
  * @implNote This implementation is not thread safe. However, it is safe to use
  * {@link java.util.stream.Collectors#summarizingInt(java.util.function.ToIntFunction)
- * Collectors.toIntStatistics()} on a parallel stream, because the parallel
+ * Collectors.summarizingInt()} on a parallel stream, because the parallel
  * implementation of {@link java.util.stream.Stream#collect Stream.collect()}
  * provides the necessary partitioning, isolation, and merging of results for
  * safe and efficient parallel execution.
--- a/jdk/src/share/classes/java/util/LongSummaryStatistics.java	Thu May 22 09:15:01 2014 -0700
+++ b/jdk/src/share/classes/java/util/LongSummaryStatistics.java	Thu May 22 20:19:08 2014 +0400
@@ -42,7 +42,7 @@
  * }</pre>
  *
  * <p>{@code LongSummaryStatistics} can be used as a
- * {@linkplain java.util.stream.Stream#collect(Collector)} reduction}
+ * {@linkplain java.util.stream.Stream#collect(Collector) reduction}
  * target for a {@linkplain java.util.stream.Stream stream}. For example:
  *
  * <pre> {@code
@@ -55,7 +55,7 @@
  *
  * @implNote This implementation is not thread safe. However, it is safe to use
  * {@link java.util.stream.Collectors#summarizingLong(java.util.function.ToLongFunction)
- * Collectors.toLongStatistics()} on a parallel stream, because the parallel
+ * Collectors.summarizingLong()} on a parallel stream, because the parallel
  * implementation of {@link java.util.stream.Stream#collect Stream.collect()}
  * provides the necessary partitioning, isolation, and merging of results for
  * safe and efficient parallel execution.