Skip to content

Commit 80ccf84

Browse files
committed
Update javadoc for Subscribers.empty()
1 parent 3e2b3b1 commit 80ccf84

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
@@ -31,10 +31,9 @@ private Subscribers() {
3131
}
3232

3333
/**
34-
* Returns an inert {@link Subscriber} that does nothing in response to the emissions or notifications from
35-
* any {@code Observable} it subscribes to. This is different, however, from an {@code EmptyObserver}, in
36-
* that it will throw an exception if its {@link Subscriber#onError onError} method is called (whereas
37-
* {@code EmptyObserver} will swallow the error in such a case).
34+
* Returns an inert {@link Subscriber} that does nothing in response to the emissions or notifications
35+
* from any {@code Observable} it subscribes to. Will throw an exception if {@link Subscriber#onError onError}
36+
* method is called
3837
*
3938
* @return an inert {@code Observer}
4039
*/

0 commit comments

Comments
 (0)