-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Conversation
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
History?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
src/main/java/rx/Observable.java
Outdated
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.3
src/main/java/rx/SingleEmitter.java
Outdated
@@ -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 |
There was a problem hiding this comment.
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.
This PR applies the API promotions of #5201.
Note that
Single.unsubscribeOn
remainded experimental andObservable.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:
@Experimental
and@Beta
annotations are removed from the method and from Javadoc@since 1.3
is present