File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/io/reactivex Expand file tree Collapse file tree 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
25012501 * <p>
25022502 * <img width="640" height="305" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/doOnTerminate.png" alt="">
25032503 * <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
25052505 * {@code onError} notification.
25062506 * <dl>
25072507 * <dt><b>Scheduler:</b></dt>
25082508 * <dd>{@code doOnTerminate} does not operate by default on a particular {@link Scheduler}.</dd>
25092509 * </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}
25112511 * @return the new Single instance
25122512 * @see <a href="http://reactivex.io/documentation/operators/do.html">ReactiveX operators documentation: Do</a>
25132513 * @see #doOnTerminate(Action)
You can’t perform that action at this time.
0 commit comments