changeset 7562:8f30d1466232

Mostly typos.
author psandoz
date Tue, 05 Mar 2013 15:53:41 +0100
parents 04ecd3ef518c
children e89a6e7532e0
files src/share/classes/java/util/stream/package-info.java
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/util/stream/package-info.java	Tue Mar 05 15:41:47 2013 +0100
+++ b/src/share/classes/java/util/stream/package-info.java	Tue Mar 05 15:53:41 2013 +0100
@@ -113,8 +113,8 @@
  * then a {@code ConcurrentModificationException} will be thrown since the {@code peek) operation will attempt
  * to add the string "BAD LAMBDA" to the list after the terminal operation has commenced.
  *
- * <p>If a source cannot directly supply a lazy {@code Spliterator} then it may do so indirectly using a
- * {@code Supplier} of a non-lazy {@code Spliterator}.  The {@code Spliterator} will be obtained from the
+ * <p>If a source cannot directly supply a lazy {@code Spliterator}, then it may lazily supply a non-lazy
+ * {@code Spliterator} using a {@code Supplier}. The {@code Spliterator} will only be obtained from the
  * {@code Supplier} when the terminal operation commences.
  *
  * <h3><a name="StreamOps">Stream operations</a></h3>
@@ -144,9 +144,9 @@
  * can be processed in a single pass, whether sequential or parallel.
  *
  * <p>Further, some operations are deemed <em>short-circuiting</em> operations.  An intermediate operation is
- * short-circuiting if, when present with infinite input, may produce a finite stream as a result.  A terminal
- * operations is short-circuiting if, when presented with infinite input, may terminate in finite time.  (Having
- * a short-circuiting operation is a necessary, but not sufficient, criteria for the processing of an infinite stream
+ * short-circuiting if, when presented with infinite input, it may produce a finite stream as a result.  A terminal
+ * operation is short-circuiting if, when presented with infinite input, it may terminate in finite time.  (Having
+ * a short-circuiting operation is a necessary, but not sufficient, condition for the processing of an infinite stream
  * to terminate normally in finite time.)
  *
  * <h3>Parallelism</h3>