--- old/src/share/classes/java/util/IntSummaryStatistics.java 2013-07-05 16:26:31.062023869 -0700 +++ new/src/share/classes/java/util/IntSummaryStatistics.java 2013-07-05 16:26:27.078023940 -0700 @@ -45,14 +45,14 @@ * *
 {@code
  * IntSummaryStatistics stats = people.stream()
- *     .collect(Collectors.toIntSummaryStatistics(Person::getDependents));
+ *     .collect(Collectors.summarizingInt(Person::getDependents));
  *}
* * This computes, in a single pass, the count of people, as well as the minimum, * maximum, sum, and average of their number of dependents. * * @implNote This implementation is not thread safe. However, it is safe to use - * {@link java.util.stream.Collectors#toIntSummaryStatistics(java.util.function.ToIntFunction) + * {@link java.util.stream.Collectors#summarizingInt(java.util.function.ToIntFunction) * Collectors.toIntStatistics()} 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