8157437: Typos in Stream JavaDoc

Reviewed-by: shade, alanb, lancea
This commit is contained in:
Paul Sandoz 2016-05-20 14:07:21 +02:00
parent 524ec2f1de
commit 65a33061ce
6 changed files with 7 additions and 8 deletions

View file

@ -209,7 +209,7 @@ public interface IntStream extends BaseStream<Integer, IntStream> {
* .sum();
* }</pre>
*
* <p>In cases where stream implementation is able to optimize away the
* <p>In cases where the stream implementation is able to optimize away the
* production of some or all the elements (such as with short-circuiting
* operations like {@code findFirst}, or in the example described in
* {@link #count}), the action will not be invoked for those elements.