File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/io/reactivex Expand file tree Collapse file tree 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() {
94149414 * @Override
94159415 * public void onSubscribe(Disposable s) {
94169416 * if (upstream != null) {
9417- * s.cancel ();
9417+ * s.dispose ();
94189418 * } else {
94199419 * upstream = s;
94209420 * downstream.onSubscribe(this);
@@ -9473,10 +9473,10 @@ public final Single<T> lastOrError() {
94739473 * // Such class may define additional parameters to be submitted to
94749474 * // the custom consumer type.
94759475 *
9476- * final class CustomOperator<T> implements ObservableOperator<String> {
9476+ * final class CustomOperator<T> implements ObservableOperator<String, T > {
94779477 * @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 );
94809480 * }
94819481 * }
94829482 *
You can’t perform that action at this time.
0 commit comments