diff --git a/src/share/classes/java/util/stream/StreamSupport.java b/src/share/classes/java/util/stream/StreamSupport.java index 70af2da5e3b18b64af94cbbb10265cee7abb5abf..9a1820cca281106b0be68efb42f40024e89c4a31 100644 --- a/src/share/classes/java/util/stream/StreamSupport.java +++ b/src/share/classes/java/util/stream/StreamSupport.java @@ -54,7 +54,7 @@ public final class StreamSupport { * late-binding. Otherwise, * {@link #stream(java.util.function.Supplier, int, boolean)} should be used * to reduce the scope of potential interference with the source. See - * Non-Interference for + * Non-Interference for * more details. * * @param the type of stream elements @@ -89,7 +89,7 @@ public final class StreamSupport { * source. Since the supplier is only invoked after the terminal operation * commences, any modifications to the source up to the start of the * terminal operation are reflected in the stream result. See - * Non-Interference for + * Non-Interference for * more details. * * @param the type of stream elements @@ -125,7 +125,7 @@ public final class StreamSupport { * late-binding. Otherwise, * {@link #intStream(java.util.function.Supplier, int, boolean)} should be * used to reduce the scope of potential interference with the source. See - * Non-Interference for + * Non-Interference for * more details. * * @param spliterator a {@code Spliterator.OfInt} describing the stream elements @@ -158,7 +158,7 @@ public final class StreamSupport { * source. Since the supplier is only invoked after the terminal operation * commences, any modifications to the source up to the start of the * terminal operation are reflected in the stream result. See - * Non-Interference for + * Non-Interference for * more details. * * @param supplier a {@code Supplier} of a {@code Spliterator.OfInt} @@ -192,7 +192,7 @@ public final class StreamSupport { * late-binding. Otherwise, * {@link #longStream(java.util.function.Supplier, int, boolean)} should be * used to reduce the scope of potential interference with the source. See - * Non-Interference for + * Non-Interference for * more details. * * @param spliterator a {@code Spliterator.OfLong} describing the stream elements @@ -226,7 +226,7 @@ public final class StreamSupport { * source. Since the supplier is only invoked after the terminal operation * commences, any modifications to the source up to the start of the * terminal operation are reflected in the stream result. See - * Non-Interference for + * Non-Interference for * more details. * * @param supplier a {@code Supplier} of a {@code Spliterator.OfLong} @@ -260,7 +260,7 @@ public final class StreamSupport { * late-binding. Otherwise, * {@link #doubleStream(java.util.function.Supplier, int, boolean)} should * be used to reduce the scope of potential interference with the source. See - * Non-Interference for + * Non-Interference for * more details. * * @param spliterator A {@code Spliterator.OfDouble} describing the stream elements @@ -294,7 +294,7 @@ public final class StreamSupport { * source. Since the supplier is only invoked after the terminal operation * commences, any modifications to the source up to the start of the * terminal operation are reflected in the stream result. See - * Non-Interference for + * Non-Interference for * more details. * * @param supplier A {@code Supplier} of a {@code Spliterator.OfDouble} diff --git a/src/share/classes/java/util/stream/package-info.java b/src/share/classes/java/util/stream/package-info.java index 810e2fc37f9dad37c3ca65a9a0129c5b91affd33..016c86dd3828ee6b001ab27fcbd2a87b7789ea30 100644 --- a/src/share/classes/java/util/stream/package-info.java +++ b/src/share/classes/java/util/stream/package-info.java @@ -206,7 +206,7 @@ * as {@link java.util.function.Function}, and are often lambda expressions or * method references. * - *

Non-interference

+ *

Non-interference

* * Streams enable you to execute possibly-parallel aggregate operations over a * variety of data sources, including even non-thread-safe collections such as @@ -729,7 +729,7 @@ * modifications of the data source prior to commencement of the terminal * operation (provided the behavioral parameters to the stream operations meet * the required criteria for non-interference and statelessness). See - * Non-Interference + * Non-Interference * for more details. * * @since 1.8