Skip to content

Commit 7c95808

Browse files
committed
2.x: fix DisposableX copy-paste error in javadoc
1 parent 48489dc commit 7c95808

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/io/reactivex/observers/DisposableObserver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* <p>Use the public {@link #dispose()} method to dispose the sequence from within an
2828
* {@code onNext} implementation.
2929
*
30-
* <p>Like all other consumers, {@code DefaultObserver} can be subscribed only once.
30+
* <p>Like all other consumers, {@code DisposableObserver} can be subscribed only once.
3131
* Any subsequent attempt to subscribe it to a new source will yield an
3232
* {@link IllegalStateException} with message {@code "Disposable already set!"}.
3333
*

src/main/java/io/reactivex/subscribers/DisposableSubscriber.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* Calling {@link #request(long)} inside {@link #onNext(Object)} can happen at any time
3838
* because by design, {@code onNext} calls from upstream are non-reentrant and non-overlapping.
3939
*
40-
* <p>Like all other consumers, {@code DefaultSubscriber} can be subscribed only once.
40+
* <p>Like all other consumers, {@code DisposableSubscriber} can be subscribed only once.
4141
* Any subsequent attempt to subscribe it to a new source will yield an
4242
* {@link IllegalStateException} with message {@code "Subscription already set!"}.
4343
*

0 commit comments

Comments
 (0)