Skip to content

Commit a9ef16b

Browse files
mg6maciejakarnokd
authored andcommitted
Fix documentation. (#5403)
1 parent c174c45 commit a9ef16b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/reactivex/Single.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1807,7 +1807,7 @@ public final Single<T> doAfterSuccess(Consumer<? super T> onAfterSuccess) {
18071807

18081808
/**
18091809
* Registers an {@link Action} to be called after this Single invokes either onSuccess or onError.
1810-
* * <p>Note that the {@code doAfterSuccess} action is shared between subscriptions and as such
1810+
* * <p>Note that the {@code doAfterTerminate} action is shared between subscriptions and as such
18111811
* should be thread-safe.</p>
18121812
* <p>
18131813
* <img width="640" height="310" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/doAfterTerminate.png" alt="">

0 commit comments

Comments
 (0)