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

DefaultSubscriber javadoc sample fix #5407

Merged

Conversation

devisnik
Copy link
Contributor

The example in the javadoc of DefaultSubscriber is not compiling, DefaultSubscriber is not a Disposable.
This PR updates the javadoc to provide a compiling example.

Fix is similar to #5405 for DefaultObserver.

@@ -52,7 +52,7 @@
* <p>Example<code><pre>
* Disposable d =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This assignment doesn't work anymore.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, fixed.

@codecov
Copy link

codecov bot commented Jun 11, 2017

Codecov Report

❗ No coverage uploaded for pull request base (2.x@c11f715). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##             2.x    #5407   +/-   ##
======================================
  Coverage       ?   96.16%           
  Complexity     ?     5785           
======================================
  Files          ?      630           
  Lines          ?    41197           
  Branches       ?     5728           
======================================
  Hits           ?    39618           
  Misses         ?      620           
  Partials       ?      959
Impacted Files Coverage Δ Complexity Δ
...va/io/reactivex/subscribers/DefaultSubscriber.java 100% <ø> (ø) 7 <0> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c11f715...f0e70bc. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants