We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a6441c commit edc4d50Copy full SHA for edc4d50
src/main/java/rx/Observable.java
@@ -8523,7 +8523,7 @@ public final Subscription subscribe(Subscriber<? super T> subscriber) {
8523
static <T> Subscription subscribe(Subscriber<? super T> subscriber, Observable<T> observable) {
8524
// validate and proceed
8525
if (subscriber == null) {
8526
- throw new IllegalArgumentException("observer can not be null");
+ throw new IllegalArgumentException("subscriber can not be null");
8527
}
8528
if (observable.onSubscribe == null) {
8529
throw new IllegalStateException("onSubscribe function can not be null.");
0 commit comments