From 6e7de235420813432fa4e6f78b648da26289ef3e Mon Sep 17 00:00:00 2001 From: akarnokd Date: Mon, 27 Sep 2021 14:01:54 +0200 Subject: [PATCH] 3.x: Javadocs: indicate takeUntil stops on completion of other --- src/main/java/io/reactivex/rxjava3/core/Flowable.java | 6 +++--- src/main/java/io/reactivex/rxjava3/core/Observable.java | 6 +++--- .../io/reactivex/rxjava3/operators/QueueDisposable.java | 2 +- .../io/reactivex/rxjava3/operators/QueueSubscription.java | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/io/reactivex/rxjava3/core/Flowable.java b/src/main/java/io/reactivex/rxjava3/core/Flowable.java index 096486bd7b..6cbdf0a412 100644 --- a/src/main/java/io/reactivex/rxjava3/core/Flowable.java +++ b/src/main/java/io/reactivex/rxjava3/core/Flowable.java @@ -16972,9 +16972,9 @@ public final Flowable takeUntil(@NonNull Predicate stopPredicate) /** * Returns a {@code Flowable} that emits the items emitted by the current {@code Flowable} until a second {@link Publisher} - * emits an item. + * emits an item or completes. *

- * + * *

*
Backpressure:
*
The operator doesn't interfere with backpressure which is determined by the current {@code Flowable}'s backpressure @@ -16984,7 +16984,7 @@ public final Flowable takeUntil(@NonNull Predicate stopPredicate) *
* * @param other - * the {@code Publisher} whose first emitted item will cause {@code takeUntil} to stop emitting items + * the {@code Publisher} whose first emitted item or completion will cause {@code takeUntil} to stop emitting items * from the current {@code Flowable} * @param * the type of items emitted by {@code other} diff --git a/src/main/java/io/reactivex/rxjava3/core/Observable.java b/src/main/java/io/reactivex/rxjava3/core/Observable.java index 37641d438e..2206319b18 100644 --- a/src/main/java/io/reactivex/rxjava3/core/Observable.java +++ b/src/main/java/io/reactivex/rxjava3/core/Observable.java @@ -14028,16 +14028,16 @@ public final Observable takeLast(long time, @NonNull TimeUnit unit, @NonNull /** * Returns an {@code Observable} that emits the items emitted by the current {@code Observable} until a second {@link ObservableSource} - * emits an item. + * emits an item or completes. *

- * + * *

*
Scheduler:
*
{@code takeUntil} does not operate by default on a particular {@link Scheduler}.
*
* * @param other - * the {@code ObservableSource} whose first emitted item will cause {@code takeUntil} to stop emitting items + * the {@code ObservableSource} whose first emitted item or completion will cause {@code takeUntil} to stop emitting items * from the current {@code Observable} * @param * the type of items emitted by {@code other} diff --git a/src/main/java/io/reactivex/rxjava3/operators/QueueDisposable.java b/src/main/java/io/reactivex/rxjava3/operators/QueueDisposable.java index f293e6e9e7..97096064d9 100644 --- a/src/main/java/io/reactivex/rxjava3/operators/QueueDisposable.java +++ b/src/main/java/io/reactivex/rxjava3/operators/QueueDisposable.java @@ -18,7 +18,7 @@ /** * An interface extending {@link SimpleQueue} and {@link Disposable} and allows negotiating - * the fusion mode between subsequent operators of the {@link Observable} base reactive type. + * the fusion mode between subsequent operators of the {@link io.reactivex.rxjava3.core.Observable Observable} base reactive type. *

* The negotiation happens in subscription time when the upstream * calls the {@code onSubscribe} with an instance of this interface. The diff --git a/src/main/java/io/reactivex/rxjava3/operators/QueueSubscription.java b/src/main/java/io/reactivex/rxjava3/operators/QueueSubscription.java index f799dcd014..eae8922992 100644 --- a/src/main/java/io/reactivex/rxjava3/operators/QueueSubscription.java +++ b/src/main/java/io/reactivex/rxjava3/operators/QueueSubscription.java @@ -19,7 +19,7 @@ /** * An interface extending {@link SimpleQueue} and {@link Subscription} and allows negotiating - * the fusion mode between subsequent operators of the {@link Flowable} base reactive type. + * the fusion mode between subsequent operators of the {@link io.reactivex.rxjava3.core.Flowable Flowable} base reactive type. *

* The negotiation happens in subscription time when the upstream * calls the {@code onSubscribe} with an instance of this interface. The