Skip to content
This repository was archived by the owner on Feb 25, 2024. It is now read-only.

Commit 32eb539

Browse files
committed
JDK-8238919: Spacing and punctuation in stream package doc (partially)
1 parent dd1d405 commit 32eb539

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/java9/util/stream/package-info.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
* <p>The key abstraction introduced in this package is <em>stream</em>. The
4444
* classes {@link java9.util.stream.Stream}, {@link java9.util.stream.IntStream},
4545
* {@link java9.util.stream.LongStream}, and {@link java9.util.stream.DoubleStream}
46-
* are streams over objects and the primitive {@code int}, {@code long} and
46+
* are streams over objects and the primitive {@code int}, {@code long}, and
4747
* {@code double} types. Streams differ from collections in several ways:
4848
*
4949
* <ul>
@@ -242,7 +242,7 @@
242242
* String s = sl.collect(joining(" "));
243243
* }</pre>
244244
*
245-
* First a list is created consisting of two strings: "one"; and "two". Then a
245+
* First a list is created consisting of two strings: "one" and "two". Then a
246246
* stream is created from that list. Next the list is modified by adding a third
247247
* string: "three". Finally the elements of the stream are collected and joined
248248
* together. Since the list was modified before the terminal {@code collect}
@@ -344,7 +344,7 @@
344344
* parallelization:
345345
*
346346
* <pre>{@code
347-
* List<String>results =
347+
* List<String> results =
348348
* stream.filter(s -> pattern.matcher(s).matches())
349349
* .collect(Collectors.toList()); // No side-effects!
350350
* }</pre>

0 commit comments

Comments
 (0)