Skip to content

Commit 5530fc4

Browse files
committed
Merge pull request #3670 from oguzbabaoglu/subscribers_javadoc_fix
1.x: fix Subscribers.create(onNext) javadoc
2 parents bac1552 + 6a572ec commit 5530fc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/rx/observers/Subscribers.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ public void onNext(T t) {
6868

6969
/**
7070
* Creates a {@link Subscriber} that receives the emissions of any {@code Observable} it subscribes to via
71-
* {@link Subscriber#onNext onNext} but ignores {@link Subscriber#onError onError} and
72-
* {@link Subscriber#onCompleted onCompleted} notifications.
71+
* {@link Subscriber#onNext onNext} but ignores {@link Subscriber#onCompleted onCompleted} notifications;
72+
* it will throw an {@link OnErrorNotImplementedException} if {@link Subscriber#onError onError} is invoked.
7373
*
7474
* @param onNext
7575
* a function that handles each item emitted by an {@code Observable}

0 commit comments

Comments
 (0)