You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rxjava-core/src/main/java/rx/Observer.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,9 @@
20
20
/**
21
21
* Provides a mechanism for receiving push-based notifications.
22
22
* <p>
23
-
* After an Observer calls an {@link Observable}'s <code>Observable.subscribe</code> method, the {@link Observable} calls the Observer's <code>onNext</code> method to provide notifications. A
24
-
* well-behaved {@link Observable} will
25
-
* call an Observer's <code>onCompleted</code> closure exactly once or the Observer's <code>onError</code> closure exactly once.
23
+
* After an Observer calls an {@link Observable}'s <code>Observable.subscribe</code> method, the {@link Observable} calls the
24
+
* Observer's <code>onNext</code> method to provide notifications. A well-behaved {@link Observable} will call an Observer's
25
+
* <code>onCompleted</code> closure exactly once or the Observer's <code>onError</code> closure exactly once.
26
26
* <p>
27
27
* For more information see the <a href="https://github.com/Netflix/RxJava/wiki/Observable">RxJava Wiki</a>
28
28
*
@@ -34,7 +34,7 @@ public abstract class Observer<T> implements Subscription {
34
34
35
35
protectedObserver(CompositeSubscriptioncs) {
36
36
if (cs == null) {
37
-
thrownewIllegalArgumentException("The CompositeException can not be null");
37
+
thrownewIllegalArgumentException("The CompositeSubscription can not be null");
0 commit comments