Skip to content

Commit 214181f

Browse files
Anthony Musyokiakarnokd
Anthony Musyoki
authored andcommitted
Observable javadoc cleanup (#5992)
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)
1 parent fbba23e commit 214181f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/reactivex/Observable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
* &#64;Override public void onStart() {
7575
* System.out.println("Start!");
7676
* }
77-
* &#64;Override public void onNext(Integer t) {
77+
* &#64;Override public void onNext(String t) {
7878
* System.out.println(t);
7979
* }
8080
* &#64;Override public void onError(Throwable t) {

0 commit comments

Comments
 (0)