Skip to content

Commit 995a6f5

Browse files
artem-zinnatullinakarnokd
authored andcommitted
Fix Completable.toMaybe() @return javadoc. (#5936)
1 parent 5c58f82 commit 995a6f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2182,7 +2182,8 @@ public final <T> Flowable<T> toFlowable() {
21822182
* </dl>
21832183
*
21842184
* @param <T> the value type
2185-
* @return a {@link Maybe} that emits a single item T or an error.
2185+
* @return a {@link Maybe} that only calls {@code onComplete} or {@code onError}, based on which one is
2186+
* called by the source Completable.
21862187
*/
21872188
@CheckReturnValue
21882189
@SuppressWarnings("unchecked")

0 commit comments

Comments
 (0)