File tree 1 file changed +2
-2
lines changed
src/main/java/io/reactivex
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2501,13 +2501,13 @@ public final Single<T> doOnSubscribe(final Consumer<? super Disposable> onSubscr
2501
2501
* <p>
2502
2502
* <img width="640" height="305" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/doOnTerminate.png" alt="">
2503
2503
* <p>
2504
- * This differs from {@code doAfterTerminate} in that this happens <em>before</em> the {@code onComplete } or
2504
+ * This differs from {@code doAfterTerminate} in that this happens <em>before</em> the {@code onSuccess } or
2505
2505
* {@code onError} notification.
2506
2506
* <dl>
2507
2507
* <dt><b>Scheduler:</b></dt>
2508
2508
* <dd>{@code doOnTerminate} does not operate by default on a particular {@link Scheduler}.</dd>
2509
2509
* </dl>
2510
- * @param onTerminate the action to invoke when the consumer calls {@code onComplete } or {@code onError}
2510
+ * @param onTerminate the action to invoke when the consumer calls {@code onSuccess } or {@code onError}
2511
2511
* @return the new Single instance
2512
2512
* @see <a href="http://reactivex.io/documentation/operators/do.html">ReactiveX operators documentation: Do</a>
2513
2513
* @see #doOnTerminate(Action)
You can’t perform that action at this time.
0 commit comments