Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing javadoc's code example of Observable#lift. #6104

Merged
merged 1 commit into from
Jul 22, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/main/java/io/reactivex/Observable.java
Original file line number Diff line number Diff line change
Expand Up @@ -9414,7 +9414,7 @@ public final Single<T> lastOrError() {
* &#64;Override
* public void onSubscribe(Disposable s) {
* if (upstream != null) {
* s.cancel();
* s.dispose();
* } else {
* upstream = s;
* downstream.onSubscribe(this);
Expand Down Expand Up @@ -9473,10 +9473,10 @@ public final Single<T> lastOrError() {
* // Such class may define additional parameters to be submitted to
* // the custom consumer type.
*
* final class CustomOperator&lt;T&gt; implements ObservableOperator&lt;String&gt; {
* final class CustomOperator&lt;T&gt; implements ObservableOperator&lt;String, T&gt; {
* &#64;Override
* public Observer&lt;? super String&gt; apply(Observer&lt;? super T&gt; upstream) {
* return new CustomObserver&lt;T&gt;(upstream);
* public Observer&lt;T&gt; apply(Observer&lt;? super String&gt; downstream) {
* return new CustomObserver&lt;T&gt;(downstream);
* }
* }
*
Expand Down