Skip to content

Commit cebbe6d

Browse files
committed
Fix javadoc copy-paste errors
1 parent a2d422c commit cebbe6d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/main/java/io/reactivex/MaybeObserver.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* Provides a mechanism for receiving push-based notifications.
1919
* <p>
20-
* After a MaybeObserver calls a {@link Maybe}'s {@link Single#subscribe subscribe} method,
20+
* After a MaybeObserver calls a {@link Maybe}'s {@link Maybe#subscribe subscribe} method,
2121
* first the Maybe calls {@link #onSubscribe(Disposable)} with a {@link Disposable} that allows
2222
* cancelling the sequence at any time, then the
2323
* {@code Maybe} calls only one of the MaybeObserver's {@link #onSuccess}, {@link #onError} or
@@ -40,23 +40,23 @@ public interface MaybeObserver<T> {
4040
void onSubscribe(Disposable d);
4141

4242
/**
43-
* Notifies the SingleObserver with a single item and that the {@link Single} has finished sending
43+
* Notifies the MaybeObserver with one item and that the {@link Maybe} has finished sending
4444
* push-based notifications.
4545
* <p>
46-
* The {@link Single} will not call this method if it calls {@link #onError}.
46+
* The {@link Maybe} will not call this method if it calls {@link #onError}.
4747
*
4848
* @param value
49-
* the item emitted by the Single
49+
* the item emitted by the Maybe
5050
*/
5151
void onSuccess(T value);
5252

5353
/**
54-
* Notifies the SingleObserver that the {@link Single} has experienced an error condition.
54+
* Notifies the MaybeObserver that the {@link Maybe} has experienced an error condition.
5555
* <p>
56-
* If the {@link Single} calls this method, it will not thereafter call {@link #onSuccess}.
56+
* If the {@link Maybe} calls this method, it will not thereafter call {@link #onSuccess}.
5757
*
5858
* @param e
59-
* the exception encountered by the Single
59+
* the exception encountered by the Maybe
6060
*/
6161
void onError(Throwable e);
6262

src/main/java/io/reactivex/internal/fuseable/HasUpstreamObservableSource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public interface HasUpstreamObservableSource<T> {
2525
/**
2626
* Returns the upstream source of this Observable.
2727
* <p>Allows discovering the chain of observables.
28-
* @return the source SingleSource
28+
* @return the source ObservableSource
2929
*/
3030
ObservableSource<T> source();
3131
}

0 commit comments

Comments
 (0)