Skip to content

Commit 1327982

Browse files
authored
2.x: fix Javadoc mistakes and some style (#5460)
1 parent 3480eb9 commit 1327982

22 files changed

+306
-201
lines changed

src/main/java/io/reactivex/Completable.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public static Completable concat(Iterable<? extends CompletableSource> sources)
143143
/**
144144
* Returns a Completable which completes only when all sources complete, one after another.
145145
* <dl>
146-
* <dt><b>Backpressure:</b><dt>
146+
* <dt><b>Backpressure:</b></dt>
147147
* <dd>The returned {@code Completable} honors the backpressure of the downstream consumer
148148
* and expects the other {@code Publisher} to honor it as well.</dd>
149149
* <dt><b>Scheduler:</b></dt>
@@ -163,7 +163,7 @@ public static Completable concat(Publisher<? extends CompletableSource> sources)
163163
/**
164164
* Returns a Completable which completes only when all sources complete, one after another.
165165
* <dl>
166-
* <dt><b>Backpressure:</b><dt>
166+
* <dt><b>Backpressure:</b></dt>
167167
* <dd>The returned {@code Completable} honors the backpressure of the downstream consumer
168168
* and expects the other {@code Publisher} to honor it as well.</dd>
169169
* <dt><b>Scheduler:</b></dt>
@@ -396,7 +396,7 @@ public static <T> Completable fromObservable(final ObservableSource<T> observabl
396396
* Returns a Completable instance that subscribes to the given publisher, ignores all values and
397397
* emits only the terminal event.
398398
* <dl>
399-
* <dt><b>Backpressure:</b><dt>
399+
* <dt><b>Backpressure:</b></dt>
400400
* <dd>The returned {@code Completable} honors the backpressure of the downstream consumer
401401
* and expects the other {@code Publisher} to honor it as well.</dd>
402402
* <dt><b>Scheduler:</b></dt>
@@ -480,7 +480,7 @@ public static Completable merge(Iterable<? extends CompletableSource> sources) {
480480
* Returns a Completable instance that subscribes to all sources at once and
481481
* completes only when all source Completables complete or one of them emits an error.
482482
* <dl>
483-
* <dt><b>Backpressure:</b><dt>
483+
* <dt><b>Backpressure:</b></dt>
484484
* <dd>The returned {@code Completable} honors the backpressure of the downstream consumer
485485
* and expects the other {@code Publisher} to honor it as well.</dd>
486486
* <dt><b>Scheduler:</b></dt>
@@ -501,7 +501,7 @@ public static Completable merge(Publisher<? extends CompletableSource> sources)
501501
* Returns a Completable instance that keeps subscriptions to a limited number of sources at once and
502502
* completes only when all source Completables complete or one of them emits an error.
503503
* <dl>
504-
* <dt><b>Backpressure:</b><dt>
504+
* <dt><b>Backpressure:</b></dt>
505505
* <dd>The returned {@code Completable} honors the backpressure of the downstream consumer
506506
* and expects the other {@code Publisher} to honor it as well.</dd>
507507
* <dt><b>Scheduler:</b></dt>
@@ -525,7 +525,7 @@ public static Completable merge(Publisher<? extends CompletableSource> sources,
525525
* completes only when all source Completables terminate in one way or another, combining any exceptions
526526
* thrown by either the sources Observable or the inner Completable instances.
527527
* <dl>
528-
* <dt><b>Backpressure:</b><dt>
528+
* <dt><b>Backpressure:</b></dt>
529529
* <dd>The returned {@code Flowable} honors the backpressure of the downstream consumer
530530
* and expects the other {@code Publisher} to honor it as well.
531531
* <dt><b>Scheduler:</b></dt>
@@ -591,7 +591,7 @@ public static Completable mergeDelayError(Iterable<? extends CompletableSource>
591591
* any error emitted by either the sources observable or any of the inner Completables until all of
592592
* them terminate in a way or another.
593593
* <dl>
594-
* <dt><b>Backpressure:</b><dt>
594+
* <dt><b>Backpressure:</b></dt>
595595
* <dd>The returned {@code Completable} honors the backpressure of the downstream consumer
596596
* and expects the other {@code Publisher} to honor it as well.</dd>
597597
* <dt><b>Scheduler:</b></dt>
@@ -614,7 +614,7 @@ public static Completable mergeDelayError(Publisher<? extends CompletableSource>
614614
* observable or any of the inner Completables until all of
615615
* them terminate in a way or another.
616616
* <dl>
617-
* <dt><b>Backpressure:</b><dt>
617+
* <dt><b>Backpressure:</b></dt>
618618
* <dd>The returned {@code Completable} honors the backpressure of the downstream consumer
619619
* and expects the other {@code Publisher} to honor it as well.</dd>
620620
* <dt><b>Scheduler:</b></dt>
@@ -817,7 +817,7 @@ public final <T> Observable<T> andThen(ObservableSource<T> next) {
817817
* propagated to the downstream subscriber and will result in skipping the subscription of the
818818
* Publisher.
819819
* <dl>
820-
* <dt><b>Backpressure:</b><dt>
820+
* <dt><b>Backpressure:</b></dt>
821821
* <dd>The returned {@code Flowable} honors the backpressure of the downstream consumer
822822
* and expects the other {@code Publisher} to honor it as well.</dd>
823823
* <dt><b>Scheduler:</b></dt>
@@ -1571,7 +1571,7 @@ public final <T> Observable<T> startWith(Observable<T> other) {
15711571
* Returns a Flowable which first delivers the events
15721572
* of the other Publisher then runs this Completable.
15731573
* <dl>
1574-
* <dt><b>Backpressure:</b><dt>
1574+
* <dt><b>Backpressure:</b></dt>
15751575
* <dd>The returned {@code Flowable} honors the backpressure of the downstream consumer
15761576
* and expects the other {@code Publisher} to honor it as well.</dd>
15771577
* <dt><b>Scheduler:</b></dt>
@@ -1877,7 +1877,7 @@ public final <U> U to(Function<? super Completable, U> converter) {
18771877
* Returns a Flowable which when subscribed to subscribes to this Completable and
18781878
* relays the terminal events to the subscriber.
18791879
* <dl>
1880-
* <dt><b>Backpressure:</b><dt>
1880+
* <dt><b>Backpressure:</b></dt>
18811881
* <dd>The returned {@code Flowable} honors the backpressure of the downstream consumer.</dd>
18821882
* <dt><b>Scheduler:</b></dt>
18831883
* <dd>{@code toFlowable} does not operate by default on a particular {@link Scheduler}.</dd>

0 commit comments

Comments
 (0)