Skip to content

Commit

Permalink
Observable javadoc cleanup (#5992)
Browse files Browse the repository at this point in the history
The sample code in the Observable javadoc erroneously uses onNext(Integer t) for a DisposableObserver<String>
This has been corrected to be onNext(String t)
  • Loading branch information
Anthony Musyoki authored and akarnokd committed May 4, 2018
1 parent fbba23e commit 214181f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/reactivex/Observable.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
* &#64;Override public void onStart() {
* System.out.println("Start!");
* }
* &#64;Override public void onNext(Integer t) {
* &#64;Override public void onNext(String t) {
* System.out.println(t);
* }
* &#64;Override public void onError(Throwable t) {
Expand Down

0 comments on commit 214181f

Please sign in to comment.