changeset 7271:b4742d038100

8014393: Minor typo in the spec for j.u.stream.Stream.findFirst() Reviewed-by: alanb, chegar
author psandoz
date Tue, 28 May 2013 15:22:30 +0200
parents 156ee44cd456
children b588955b7e5b
files src/share/classes/java/util/stream/DoubleStream.java src/share/classes/java/util/stream/IntStream.java src/share/classes/java/util/stream/LongStream.java src/share/classes/java/util/stream/Stream.java
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/util/stream/DoubleStream.java	Thu May 30 16:08:43 2013 +0200
+++ b/src/share/classes/java/util/stream/DoubleStream.java	Tue May 28 15:22:30 2013 +0200
@@ -603,7 +603,7 @@
     /**
      * Returns an {@link OptionalDouble} describing the first element of this
      * stream (in the encounter order), or an empty {@code OptionalDouble} if
-     * the stream is empty.  If the stream has no encounter order, than any
+     * the stream is empty.  If the stream has no encounter order, then any
      * element may be returned.
      *
      * <p>This is a <a href="package-summary.html#StreamOps">short-circuiting
--- a/src/share/classes/java/util/stream/IntStream.java	Thu May 30 16:08:43 2013 +0200
+++ b/src/share/classes/java/util/stream/IntStream.java	Tue May 28 15:22:30 2013 +0200
@@ -588,7 +588,7 @@
     /**
      * Returns an {@link OptionalInt} describing the first element of this
      * stream (in the encounter order), or an empty {@code OptionalInt} if the
-     * stream is empty.  If the stream has no encounter order, than any element
+     * stream is empty.  If the stream has no encounter order, then any element
      * may be returned.
      *
      * <p>This is a <a href="package-summary.html#StreamOps">short-circuiting
--- a/src/share/classes/java/util/stream/LongStream.java	Thu May 30 16:08:43 2013 +0200
+++ b/src/share/classes/java/util/stream/LongStream.java	Tue May 28 15:22:30 2013 +0200
@@ -588,7 +588,7 @@
     /**
      * Returns an {@link OptionalLong} describing the first element of this
      * stream (in the encounter order), or an empty {@code OptionalLong} if the
-     * stream is empty.  If the stream has no encounter order, than any element
+     * stream is empty.  If the stream has no encounter order, then any element
      * may be returned.
      *
      * <p>This is a <a href="package-summary.html#StreamOps">short-circuiting
--- a/src/share/classes/java/util/stream/Stream.java	Thu May 30 16:08:43 2013 +0200
+++ b/src/share/classes/java/util/stream/Stream.java	Tue May 28 15:22:30 2013 +0200
@@ -754,7 +754,7 @@
     /**
      * Returns an {@link Optional} describing the first element of this stream
      * (in the encounter order), or an empty {@code Optional} if the stream is
-     * empty.  If the stream has no encounter order, than any element may be
+     * empty.  If the stream has no encounter order, then any element may be
      * returned.
      *
      * <p>This is a <a href="package-summary.html#StreamOps">short-circuiting