@@ -759,16 +759,16 @@ public final <T> Observable<T> andThen(ObservableSource<T> next) {
759
759
* Returns a Flowable which will subscribe to this Completable and once that is completed then
760
760
* will subscribe to the {@code next} Flowable. An error event from this Completable will be
761
761
* propagated to the downstream subscriber and will result in skipping the subscription of the
762
- * Observable .
762
+ * Publisher .
763
763
* <dl>
764
764
* <dt><b>Backpressure:</b><dt>
765
765
* <dd>The returned {@code Flowable} honors the backpressure of the downstream consumer
766
- * and expects the other {@code Publisher} to honor it as well.
766
+ * and expects the other {@code Publisher} to honor it as well.</dd>
767
767
* <dt><b>Scheduler:</b></dt>
768
768
* <dd>{@code andThen} does not operate by default on a particular {@link Scheduler}.</dd>
769
769
* </dl>
770
770
* @param <T> the value type of the next Publisher
771
- * @param next the Observable to subscribe after this Completable is completed, not null
771
+ * @param next the Publisher to subscribe after this Completable is completed, not null
772
772
* @return Flowable that composes this Completable and next
773
773
* @throws NullPointerException if next is null
774
774
*/
@@ -1135,7 +1135,7 @@ public final Completable doAfterTerminate(final Action onAfterTerminate) {
1135
1135
}
1136
1136
1137
1137
/**
1138
- * <strong>Advanced use without safeguards:</strong> lifts a CompletableSubscriber
1138
+ * <strong>Advanced use without safeguards:</strong> lifts a CompletableOperator
1139
1139
* transformation into the chain of Completables.
1140
1140
* <dl>
1141
1141
* <dt><b>Scheduler:</b></dt>
@@ -1360,13 +1360,13 @@ public final Completable retry(Predicate<? super Throwable> predicate) {
1360
1360
1361
1361
/**
1362
1362
* Returns a Completable which given a Publisher and when this Completable emits an error, delivers
1363
- * that error through an Observable and the Publisher should return a value indicating a retry in response
1363
+ * that error through a Flowable and the Publisher should return a value indicating a retry in response
1364
1364
* or a terminal event indicating a termination.
1365
1365
* <dl>
1366
1366
* <dt><b>Scheduler:</b></dt>
1367
1367
* <dd>{@code retryWhen} does not operate by default on a particular {@link Scheduler}.</dd>
1368
1368
* </dl>
1369
- * @param handler the handler that receives an Observable delivering Throwables and should return a Publisher that
1369
+ * @param handler the handler that receives a Flowable delivering Throwables and should return a Publisher that
1370
1370
* emits items to indicate retries or emits terminal events to indicate termination.
1371
1371
* @return the new Completable instance
1372
1372
* @throws NullPointerException if handler is null
@@ -1411,18 +1411,18 @@ public final <T> Observable<T> startWith(Observable<T> other) {
1411
1411
return other .concatWith (this .<T >toObservable ());
1412
1412
}
1413
1413
/**
1414
- * Returns an Observable which first delivers the events
1415
- * of the other Observable then runs this Completable.
1414
+ * Returns a Flowable which first delivers the events
1415
+ * of the other Publisher then runs this Completable.
1416
1416
* <dl>
1417
1417
* <dt><b>Backpressure:</b><dt>
1418
1418
* <dd>The returned {@code Flowable} honors the backpressure of the downstream consumer
1419
- * and expects the other {@code Publisher} to honor it as well.
1419
+ * and expects the other {@code Publisher} to honor it as well.</dd>
1420
1420
* <dt><b>Scheduler:</b></dt>
1421
1421
* <dd>{@code startWith} does not operate by default on a particular {@link Scheduler}.</dd>
1422
1422
* </dl>
1423
1423
* @param <T> the value type
1424
- * @param other the other Observable to run first
1425
- * @return the new Observable instance
1424
+ * @param other the other Publisher to run first
1425
+ * @return the new Flowable instance
1426
1426
* @throws NullPointerException if other is null
1427
1427
*/
1428
1428
@ BackpressureSupport (BackpressureKind .FULL )
@@ -1647,7 +1647,7 @@ public final Completable timeout(long timeout, TimeUnit unit, Scheduler schedule
1647
1647
* the specified scheduler.
1648
1648
* <dl>
1649
1649
* <dt><b>Scheduler:</b></dt>
1650
- * <dd>you specify the {@link Scheduler} this operator runs on.</dd>
1650
+ * <dd>You specify the {@link Scheduler} this operator runs on.</dd>
1651
1651
* </dl>
1652
1652
* @param timeout the timeout value
1653
1653
* @param unit the timeout unit
@@ -1686,16 +1686,16 @@ public final <U> U to(Function<? super Completable, U> converter) {
1686
1686
}
1687
1687
1688
1688
/**
1689
- * Returns an Observable which when subscribed to subscribes to this Completable and
1689
+ * Returns a Flowable which when subscribed to subscribes to this Completable and
1690
1690
* relays the terminal events to the subscriber.
1691
1691
* <dl>
1692
1692
* <dt><b>Backpressure:</b><dt>
1693
- * <dd>The returned {@code Flowable} honors the backpressure of the downstream consumer.
1693
+ * <dd>The returned {@code Flowable} honors the backpressure of the downstream consumer.</dd>
1694
1694
* <dt><b>Scheduler:</b></dt>
1695
1695
* <dd>{@code toFlowable} does not operate by default on a particular {@link Scheduler}.</dd>
1696
1696
* </dl>
1697
1697
* @param <T> the value type
1698
- * @return the new Observable created
1698
+ * @return the new Flowable instance
1699
1699
*/
1700
1700
@ SuppressWarnings ("unchecked" )
1701
1701
@ BackpressureSupport (BackpressureKind .FULL )
@@ -1708,16 +1708,16 @@ public final <T> Flowable<T> toFlowable() {
1708
1708
}
1709
1709
1710
1710
/**
1711
- * Converts this Single into a {@link Maybe}.
1711
+ * Converts this Completable into a {@link Maybe}.
1712
1712
* <p>
1713
- * <img width="640" height="305" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single .toObservable.png" alt="">
1713
+ * <img width="640" height="305" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Completable .toObservable.png" alt="">
1714
1714
* <dl>
1715
1715
* <dt><b>Scheduler:</b></dt>
1716
1716
* <dd>{@code toMaybe} does not operate by default on a particular {@link Scheduler}.</dd>
1717
1717
* </dl>
1718
1718
*
1719
1719
* @param <T> the value type
1720
- * @return an {@link Maybe} that emits a single item T or an error.
1720
+ * @return a {@link Maybe} that emits a single item T or an error.
1721
1721
*/
1722
1722
@ SuppressWarnings ("unchecked" )
1723
1723
@ SchedulerSupport (SchedulerSupport .NONE )
0 commit comments