Skip to content

Commit

Permalink
promote Observer.create(onNext) note about onError to sentence #1 of …
Browse files Browse the repository at this point in the history
…javadoc description (ReactiveX#1847)
  • Loading branch information
DavidMGross committed Nov 10, 2014
1 parent 462dfeb commit bcb066f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/rx/observers/Observers.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ public static <T> Observer<T> empty() {

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

0 comments on commit bcb066f

Please sign in to comment.