Skip to content

Commit

Permalink
Fixed typos for comments (#6453)
Browse files Browse the repository at this point in the history
* Update Maybe.java

* Update Single.java
  • Loading branch information
lxsmnsyc authored and akarnokd committed Apr 4, 2019
1 parent 0f565f2 commit 3958d1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/main/java/io/reactivex/Maybe.java
Original file line number Diff line number Diff line change
Expand Up @@ -3685,7 +3685,7 @@ public final Single<T> toSingle() {
* <dt><b>Scheduler:</b></dt>
* <dd>{@code onErrorComplete} does not operate by default on a particular {@link Scheduler}.</dd>
* </dl>
* @return the new Completable instance
* @return the new Maybe instance
*/
@CheckReturnValue
@SchedulerSupport(SchedulerSupport.NONE)
Expand All @@ -3702,7 +3702,7 @@ public final Maybe<T> onErrorComplete() {
* </dl>
* @param predicate the predicate to call when an Throwable is emitted which should return true
* if the Throwable should be swallowed and replaced with an onComplete.
* @return the new Completable instance
* @return the new Maybe instance
*/
@CheckReturnValue
@NonNull
Expand Down Expand Up @@ -3984,7 +3984,7 @@ public final Flowable<T> repeatWhen(final Function<? super Flowable<Object>, ? e
* <dd>{@code retry} does not operate by default on a particular {@link Scheduler}.</dd>
* </dl>
*
* @return the nww Maybe instance
* @return the new Maybe instance
* @see <a href="http://reactivex.io/documentation/operators/retry.html">ReactiveX operators documentation: Retry</a>
*/
@CheckReturnValue
Expand All @@ -4006,7 +4006,7 @@ public final Maybe<T> retry() {
* @param predicate
* the predicate that determines if a resubscription may happen in case of a specific exception
* and retry count
* @return the nww Maybe instance
* @return the new Maybe instance
* @see #retry()
* @see <a href="http://reactivex.io/documentation/operators/retry.html">ReactiveX operators documentation: Retry</a>
*/
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/reactivex/Single.java
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ public static <T> Flowable<T> concatEager(Iterable<? extends SingleSource<? exte
}

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

0 comments on commit 3958d1b

Please sign in to comment.