Skip to content

Commit edc4d50

Browse files
loveyoupengzsxwing
authored andcommitted
fix exception message (#3944)
1 parent 4a6441c commit edc4d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/rx/Observable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8523,7 +8523,7 @@ public final Subscription subscribe(Subscriber<? super T> subscriber) {
85238523
static <T> Subscription subscribe(Subscriber<? super T> subscriber, Observable<T> observable) {
85248524
// validate and proceed
85258525
if (subscriber == null) {
8526-
throw new IllegalArgumentException("observer can not be null");
8526+
throw new IllegalArgumentException("subscriber can not be null");
85278527
}
85288528
if (observable.onSubscribe == null) {
85298529
throw new IllegalStateException("onSubscribe function can not be null.");

0 commit comments

Comments
 (0)