Skip to content

1.x: apply API promotions for 1.3 #5318

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

Merged
merged 2 commits into from
Apr 27, 2017
Merged

Conversation

akarnokd
Copy link
Member

This PR applies the API promotions of #5201.

Note that Single.unsubscribeOn remainded experimental and Observable.fromEmitter was removed.

Where the experimental version was available, it was moved up as <p>History: 1.x.y - experimental similar to how 2.x versioning/promotions happen.

Suggested review strategy:

  • verify @Experimental and @Beta annotations are removed from the method and from Javadoc
  • verify @since 1.3 is present

@akarnokd akarnokd added this to the 1.3 milestone Apr 27, 2017
@codecov
Copy link

codecov bot commented Apr 27, 2017

Codecov Report

Merging #5318 into 1.x will decrease coverage by 0.08%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##                1.x    #5318      +/-   ##
============================================
- Coverage     84.46%   84.37%   -0.09%     
+ Complexity     2887     2881       -6     
============================================
  Files           290      290              
  Lines         18125    18124       -1     
  Branches       2479     2479              
============================================
- Hits          15309    15292      -17     
- Misses         1955     1966      +11     
- Partials        861      866       +5
Impacted Files Coverage Δ Complexity Δ
src/main/java/rx/Single.java 73.96% <ø> (ø) 82 <0> (ø) ⬇️
src/main/java/rx/internal/util/BlockingUtils.java 90% <ø> (ø) 2 <0> (ø) ⬇️
src/main/java/rx/Scheduler.java 100% <ø> (ø) 3 <0> (ø) ⬇️
src/main/java/rx/plugins/RxJavaSchedulersHook.java 100% <ø> (ø) 16 <0> (ø) ⬇️
src/main/java/rx/observables/SyncOnSubscribe.java 91.85% <ø> (ø) 8 <0> (ø) ⬇️
src/main/java/rx/BackpressureOverflow.java 86.66% <ø> (ø) 1 <0> (ø) ⬇️
src/main/java/rx/plugins/RxJavaPlugins.java 73.11% <ø> (ø) 28 <0> (ø) ⬇️
src/main/java/rx/plugins/RxJavaErrorHandler.java 70% <ø> (ø) 4 <0> (ø) ⬇️
...x/internal/operators/OnSubscribeFlatMapSingle.java 92.3% <ø> (ø) 4 <0> (ø) ⬇️
...n/java/rx/observers/SafeCompletableSubscriber.java 100% <ø> (ø) 10 <0> (ø) ⬇️
... and 30 more

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 95afbd0...dd9b789. Read the comment docs.

@@ -350,8 +348,8 @@ protected Observable(OnSubscribe<T> f) {
* @param <R> the resulting object type
* @param converter the function that receives the current Observable instance and returns a value
* @return the value returned by the function
* @since 1.3
Copy link
Contributor

Choose a reason for hiding this comment

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

History?

Copy link
Contributor

Choose a reason for hiding this comment

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

There's a lot of missing history below as well. Not sure if you were wanting it for every operator or not.

Copy link
Member Author

Choose a reason for hiding this comment

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

If it was not recorded in place, I didn't bother looking them all up.

@@ -402,10 +400,8 @@ protected Observable(OnSubscribe<T> f) {
* calls onCompleted
* @see <a href="http://reactivex.io/documentation/completable.html">ReactiveX documentation:
* Completable</a>
* @since (if this graduates from Experimental/Beta to supported, replace this parenthetical
* with the release number)
* @since 1
Copy link
Contributor

Choose a reason for hiding this comment

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

1.3

@@ -24,11 +23,10 @@
* <p>
* All methods are thread-safe; calling onSuccess or onError twice or one after the other has
* no effect.
* @since 1.2.3 - experimental (if this graduates from Experimental/Beta to supported, replace this parenthetical with the release number)
*
* <p>History: 1.2.3 -experimental
Copy link
Contributor

Choose a reason for hiding this comment

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

super nit: missing space after dash.

@akarnokd akarnokd merged commit 8119e78 into ReactiveX:1.x Apr 27, 2017
@akarnokd akarnokd deleted the APIPromotions_1_3 branch April 27, 2017 15:57
@akarnokd akarnokd mentioned this pull request Apr 27, 2017
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