Skip to content

Commit 9ee0fdc

Browse files
Fix Typo: s/CompositeException/CompositeSubscription
1 parent f5eb8f7 commit 9ee0fdc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rxjava-core/src/main/java/rx/Observer.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
/**
2121
* Provides a mechanism for receiving push-based notifications.
2222
* <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.
2626
* <p>
2727
* For more information see the <a href="https://github.com/Netflix/RxJava/wiki/Observable">RxJava Wiki</a>
2828
*
@@ -34,7 +34,7 @@ public abstract class Observer<T> implements Subscription {
3434

3535
protected Observer(CompositeSubscription cs) {
3636
if (cs == null) {
37-
throw new IllegalArgumentException("The CompositeException can not be null");
37+
throw new IllegalArgumentException("The CompositeSubscription can not be null");
3838
}
3939
this.cs = cs;
4040
}

0 commit comments

Comments
 (0)