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

3.x rename on error resume next methods to disambiguate when calling from kotlin (#6551) #6556

Conversation

luis-cortes
Copy link
Contributor

@luis-cortes luis-cortes commented Jul 3, 2019

Resolves #6551

  • Renamed onErrorResumeNext(Source) to onErrorResumeWith(Source) for Observable, Maybe, Single, and Flowable
  • Renamed some unit tests and their classes to reflect the method name change
  • Changed parameter type of Single.onErrorResumeWith from Single to SingleSource
  • Updated JavaDocs for all renamed methods
  • Removed redundant casts for unit tests
  • Deleted duplicate unit test that arose from no longer needing to cast arguments

…ErrorResumeWith, removing unnecessary cast from null tests, and updating Observable.onErrorResumeWith's JavaDoc to reference correct parameter name, renamed test classes since the distinctions in their names are no longer necessary.
….onErrorResumeWith(MaybeSource), renamed some of the affected unit tests, and updated JavaDoc.
…ErrorResumeWith(Single), renamed an affected unit test, updated JavaDoc, and removed redundant casts.
…e<? extends T> to SingleSource<? extends T>
…able.onErrorResumeWith(Publisher), renaming some affected tests, deleted duplicated unit test that arose from being able to remove redundant casts, updated JavaDocs.
@akarnokd akarnokd added this to the 3.0 milestone Jul 3, 2019
@akarnokd akarnokd merged commit b40a892 into ReactiveX:3.x Jul 4, 2019
@luis-cortes luis-cortes deleted the 3.x-Rename-onErrorResumeNext-methods-to-disambiguate-when-calling-from-Kotlin-(#6551) branch July 4, 2019 13:35
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.

Disambiguous some method call sites when calling from Kotlin
3 participants