RFR 8043328 and 8043327: errors in stream docs (original) (raw)
Ivan Gerasimov ivan.gerasimov at oracle.com
Thu Jul 3 11:05:57 UTC 2014
- Previous message: RFR 8043328 and 8043327: errors in stream docs
- Next message: RFR 8043328 and 8043327: errors in stream docs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Paul, would you please include a few more typo fixes, if it's not too late?
Sincerely yours, Ivan
diff -r 7b662a967f74 src/share/classes/java/util/stream/AbstractPipeline.java --- a/src/share/classes/java/util/stream/AbstractPipeline.java +++ b/src/share/classes/java/util/stream/AbstractPipeline.java @@ -406,7 +406,7 @@ // Clear the short circuit flag for next pipeline stage // This stage encapsulates short-circuiting, the next // stage may not have any short-circuit operations, and
// if so spliterator.forEachRemaining should be
be used
// if so spliterator.forEachRemaining should be
used // for traversal thisOpFlags = thisOpFlags & ~StreamOpFlag.IS_SHORT_CIRCUIT; } diff -r 7b662a967f74 src/share/classes/java/util/stream/BaseStream.java --- a/src/share/classes/java/util/stream/BaseStream.java +++ b/src/share/classes/java/util/stream/BaseStream.java @@ -53,7 +53,7 @@
- parallelism, which governs the behavior of all stream types.
- @param the type of the stream elements
- @param
the type of of the stream implementing {@code BaseStream}
- @param
- @param
the type of the stream implementing {@code BaseStream} - @since 1.8
- @see Stream
- @see IntStream
diff -r 7b662a967f74 src/share/classes/java/util/stream/DoubleStream.java
--- a/src/share/classes/java/util/stream/DoubleStream.java
+++ b/src/share/classes/java/util/stream/DoubleStream.java
@@ -768,7 +768,7 @@
- to the element at position {@code n - 1}.
- @param seed the initial element
- @param
* @param f a function to be applied to to the previous element to
produce
* @param f a function to be applied to the previous element to produce * a new element * @return a new sequential {@code DoubleStream} */
diff -r 7b662a967f74 src/share/classes/java/util/stream/IntStream.java --- a/src/share/classes/java/util/stream/IntStream.java +++ b/src/share/classes/java/util/stream/IntStream.java @@ -734,7 +734,7 @@ * element at position {@code n - 1}. * * @param seed the initial element
* @param f a function to be applied to to the previous element to
produce
* @param f a function to be applied to the previous element to produce * a new element * @return A new sequential {@code IntStream} */
diff -r 7b662a967f74 src/share/classes/java/util/stream/LongStream.java --- a/src/share/classes/java/util/stream/LongStream.java +++ b/src/share/classes/java/util/stream/LongStream.java @@ -727,7 +727,7 @@ * element at position {@code n - 1}. * * @param seed the initial element
* @param f a function to be applied to to the previous element to
produce
* @param f a function to be applied to the previous element to produce * a new element * @return a new sequential {@code LongStream} */
diff -r 7b662a967f74 src/share/classes/java/util/stream/PipelineHelper.java --- a/src/share/classes/java/util/stream/PipelineHelper.java +++ b/src/share/classes/java/util/stream/PipelineHelper.java @@ -74,7 +74,7 @@ /** * Returns the exact output size of the portion of the output resulting from * applying the pipeline stages described by this {@code PipelineHelper} to
* the the portion of the input described by the provided
* the portion of the input described by the provided * {@code Spliterator}, if known. If not known or known infinite,
will * return {@code -1}. * diff -r 7b662a967f74 src/share/classes/java/util/stream/SliceOps.java --- a/src/share/classes/java/util/stream/SliceOps.java +++ b/src/share/classes/java/util/stream/SliceOps.java @@ -693,7 +693,7 @@ * size. * * @param target the target size
* @return return the number of completed elements
* @return the number of completed elements */ private long completedSize(long target) { if (completed)
diff -r 7b662a967f74 src/share/classes/java/util/stream/Stream.java --- a/src/share/classes/java/util/stream/Stream.java +++ b/src/share/classes/java/util/stream/Stream.java @@ -1013,7 +1013,7 @@ * * @param the type of stream elements * @param seed the initial element
* @param f a function to be applied to to the previous element to
produce
* @param f a function to be applied to the previous element to produce * a new element * @return a new sequential {@code Stream} */
diff -r 7b662a967f74 src/share/classes/java/util/stream/StreamOpFlag.java --- a/src/share/classes/java/util/stream/StreamOpFlag.java +++ b/src/share/classes/java/util/stream/StreamOpFlag.java @@ -115,7 +115,7 @@
- characteristics that stream has; when describing a stream operation, one need
- describe whether the operation preserves, injects, or clears that
- characteristic. Accordingly, two bits are used for each flag, so as to allow
- representing not only the presence of of a characteristic, but how an
- representing not only the presence of a characteristic, but how an
- operation modifies that characteristic. There are two common forms in which
- flag bits are combined into an {@code int} bit set. Stream flags
- are a unioned bit set constructed by ORing the enum characteristic values of
- Previous message: RFR 8043328 and 8043327: errors in stream docs
- Next message: RFR 8043328 and 8043327: errors in stream docs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]