Skip to content

Commit 3958d1b

Browse files
lxsmnsycakarnokd
authored andcommitted
Fixed typos for comments (#6453)
* Update Maybe.java * Update Single.java
1 parent 0f565f2 commit 3958d1b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/main/java/io/reactivex/Maybe.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3685,7 +3685,7 @@ public final Single<T> toSingle() {
36853685
* <dt><b>Scheduler:</b></dt>
36863686
* <dd>{@code onErrorComplete} does not operate by default on a particular {@link Scheduler}.</dd>
36873687
* </dl>
3688-
* @return the new Completable instance
3688+
* @return the new Maybe instance
36893689
*/
36903690
@CheckReturnValue
36913691
@SchedulerSupport(SchedulerSupport.NONE)
@@ -3702,7 +3702,7 @@ public final Maybe<T> onErrorComplete() {
37023702
* </dl>
37033703
* @param predicate the predicate to call when an Throwable is emitted which should return true
37043704
* if the Throwable should be swallowed and replaced with an onComplete.
3705-
* @return the new Completable instance
3705+
* @return the new Maybe instance
37063706
*/
37073707
@CheckReturnValue
37083708
@NonNull
@@ -3984,7 +3984,7 @@ public final Flowable<T> repeatWhen(final Function<? super Flowable<Object>, ? e
39843984
* <dd>{@code retry} does not operate by default on a particular {@link Scheduler}.</dd>
39853985
* </dl>
39863986
*
3987-
* @return the nww Maybe instance
3987+
* @return the new Maybe instance
39883988
* @see <a href="http://reactivex.io/documentation/operators/retry.html">ReactiveX operators documentation: Retry</a>
39893989
*/
39903990
@CheckReturnValue
@@ -4006,7 +4006,7 @@ public final Maybe<T> retry() {
40064006
* @param predicate
40074007
* the predicate that determines if a resubscription may happen in case of a specific exception
40084008
* and retry count
4009-
* @return the nww Maybe instance
4009+
* @return the new Maybe instance
40104010
* @see #retry()
40114011
* @see <a href="http://reactivex.io/documentation/operators/retry.html">ReactiveX operators documentation: Retry</a>
40124012
*/

src/main/java/io/reactivex/Single.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ public static <T> Flowable<T> concatEager(Iterable<? extends SingleSource<? exte
476476
}
477477

478478
/**
479-
* Provides an API (via a cold Completable) that bridges the reactive world with the callback-style world.
479+
* Provides an API (via a cold Single) that bridges the reactive world with the callback-style world.
480480
* <p>
481481
* <img width="640" height="454" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.create.png" alt="">
482482
* <p>

0 commit comments

Comments
 (0)