ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/Flow.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/Flow.java (file contents):
Revision 1.30 by jsr166, Tue Aug 30 19:42:16 2016 UTC vs.
Revision 1.31 by dl, Thu Mar 9 00:11:08 2017 UTC

# Line 242 | Line 242 | public final class Flow {
242          /**
243           * Adds the given number {@code n} of items to the current
244           * unfulfilled demand for this subscription.  If {@code n} is
245 <         * negative, the Subscriber will receive an {@code onError}
246 <         * signal with an {@link IllegalArgumentException} argument.
247 <         * Otherwise, the Subscriber will receive up to {@code n}
248 <         * additional {@code onNext} invocations (or fewer if
249 <         * terminated).
245 >         * less than or equal to zero, the Subscriber will receive an
246 >         * {@code onError} signal with an {@link
247 >         * IllegalArgumentException} argument.  Otherwise, the
248 >         * Subscriber will receive up to {@code n} additional {@code
249 >         * onNext} invocations (or fewer if terminated).
250           *
251           * @param n the increment of demand; a value of {@code
252           * Long.MAX_VALUE} may be considered as effectively unbounded

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines