Skip to content

Commit ea6c7de

Browse files
paulblessingakarnokd
authored andcommitted
Fix Javadoc for Maybe.toSingle (#5343)
1 parent 7ce777f commit ea6c7de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3116,7 +3116,8 @@ public final Observable<T> toObservable() {
31163116

31173117
/**
31183118
* Converts this Maybe into a Single instance composing cancellation
3119-
* through and turning an empty Maybe into a signal of NoSuchElementException.
3119+
* through and turning an empty Maybe into a Single that emits the given
3120+
* value through onSuccess.
31203121
* <dl>
31213122
* <dt><b>Scheduler:</b></dt>
31223123
* <dd>{@code toSingle} does not operate by default on a particular {@link Scheduler}.</dd>

0 commit comments

Comments
 (0)