Skip to content

Commit 8d95d16

Browse files
committed
Merge pull request #3665 from digitalbuddha/bug/javadoc_update
Update javadoc for Subscribers.empty()
2 parents 6dc04f1 + 349f940 commit 8d95d16

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ private Subscribers() {
2828
}
2929

3030
/**
31-
* Returns an inert {@link Subscriber} that does nothing in response to the emissions or notifications from
32-
* any {@code Observable} it subscribes to. This is different, however, from an {@code EmptyObserver}, in
33-
* that it will throw an exception if its {@link Subscriber#onError onError} method is called (whereas
34-
* {@code EmptyObserver} will swallow the error in such a case).
31+
* Returns an inert {@link Subscriber} that does nothing in response to the emissions or notifications
32+
* from any {@code Observable} it subscribes to. Will throw an {@link OnErrorNotImplementedException} if {@link Subscriber#onError onError}
33+
* method is called
3534
*
3635
* @return an inert {@code Observer}
3736
*/

0 commit comments

Comments
 (0)