File tree 1 file changed +4
-4
lines changed
src/main/java/io/reactivex
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9414,7 +9414,7 @@ public final Single<T> lastOrError() {
9414
9414
* @Override
9415
9415
* public void onSubscribe(Disposable s) {
9416
9416
* if (upstream != null) {
9417
- * s.cancel ();
9417
+ * s.dispose ();
9418
9418
* } else {
9419
9419
* upstream = s;
9420
9420
* downstream.onSubscribe(this);
@@ -9473,10 +9473,10 @@ public final Single<T> lastOrError() {
9473
9473
* // Such class may define additional parameters to be submitted to
9474
9474
* // the custom consumer type.
9475
9475
*
9476
- * final class CustomOperator<T> implements ObservableOperator<String> {
9476
+ * final class CustomOperator<T> implements ObservableOperator<String, T > {
9477
9477
* @Override
9478
- * public Observer<? super String > apply(Observer<? super T > upstream ) {
9479
- * return new CustomObserver<T>(upstream );
9478
+ * public Observer<T > apply(Observer<? super String > downstream ) {
9479
+ * return new CustomObserver<T>(downstream );
9480
9480
* }
9481
9481
* }
9482
9482
*
You can’t perform that action at this time.
0 commit comments