Skip to content

Commit bcb066f

Browse files
committed
promote Observer.create(onNext) note about onError to sentence #1 of javadoc description (#1847)
1 parent 462dfeb commit bcb066f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/rx/observers/Observers.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ public static <T> Observer<T> empty() {
6161

6262
/**
6363
* Creates an {@link Observer} that receives the emissions of any {@code Observable} it subscribes to via
64-
* {@link Observer#onNext onNext} but ignores {@link Observer#onCompleted onCompleted} notifications.
65-
* It will throw an {@link OnErrorNotImplementedException} if {@link Observer#onError onError} is invoked.
64+
* {@link Observer#onNext onNext} but ignores {@link Observer#onCompleted onCompleted} notifications;
65+
* it will throw an {@link OnErrorNotImplementedException} if {@link Observer#onError onError} is invoked.
6666
*
6767
* @param onNext
6868
* a function that handles each item emitted by an {@code Observable}

0 commit comments

Comments
 (0)