Skip to content

Commit 8119e78

Browse files
authored
1.x: apply API promotions for 1.3 (#5318)
* 1.x: apply API promotions for 1.3 * Fix typos
1 parent 95afbd0 commit 8119e78

34 files changed

+176
-376
lines changed

src/main/java/rx/BackpressureOverflow.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@
1515
*/
1616
package rx;
1717

18-
import rx.annotations.Beta;
1918
import rx.exceptions.MissingBackpressureException;
2019

2120
/**
2221
* Generic strategy and default implementations to deal with backpressure buffer overflows.
2322
*
24-
* @since (if this graduates from Experimental/Beta to supported, replace this parenthetical with the release number)
23+
* @since 1.3
2524
*/
26-
@Beta
2725
public final class BackpressureOverflow {
2826

2927
private BackpressureOverflow() {

src/main/java/rx/Completable.java

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import java.util.concurrent.*;
2121
import java.util.concurrent.atomic.AtomicBoolean;
2222

23-
import rx.annotations.*;
2423
import rx.exceptions.*;
2524
import rx.functions.*;
2625
import rx.internal.observers.AssertableSubscriberObservable;
@@ -35,10 +34,9 @@
3534
* Represents a deferred computation without any value but only indication for completion or exception.
3635
*
3736
* The class follows a similar event pattern as Reactive-Streams: onSubscribe (onError|onComplete)?
38-
*
39-
* @since (if this graduates from Experimental/Beta to supported, replace this parenthetical with the release number)
37+
*
38+
* @since 1.3
4039
*/
41-
@Beta
4240
public class Completable {
4341
/** The actual subscription action. */
4442
private final OnSubscribe onSubscribe;
@@ -539,9 +537,8 @@ public void call(rx.CompletableSubscriber s) {
539537
* Completable's protocol are held.
540538
* @param producer the callback invoked for each incoming CompletableSubscriber
541539
* @return the new Completable instance
542-
* @since (if this graduates from Experimental/Beta to supported, replace this parenthetical with the release number)
540+
* @since 1.3
543541
*/
544-
@Experimental
545542
public static Completable fromEmitter(Action1<CompletableEmitter> producer) {
546543
return create(new CompletableFromEmitter(producer));
547544
}
@@ -2385,10 +2382,10 @@ public void call() {
23852382
* <dt><b>Scheduler:</b></dt>
23862383
* <dd>{@code test} does not operate by default on a particular {@link Scheduler}.</dd>
23872384
* </dl>
2385+
* <p>History: 1.2.3 - experimental
23882386
* @return the new AssertableSubscriber instance
2389-
* @since 1.2.3
2387+
* @since 1.3
23902388
*/
2391-
@Experimental
23922389
public final AssertableSubscriber<Void> test() {
23932390
AssertableSubscriberObservable<Void> ts = AssertableSubscriberObservable.create(Long.MAX_VALUE);
23942391
subscribe(ts);

src/main/java/rx/CompletableEmitter.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616
package rx;
1717

18-
import rx.annotations.Experimental;
1918
import rx.functions.Cancellable;
2019

2120
/**
@@ -24,9 +23,8 @@
2423
* <p>
2524
* All methods are thread-safe; calling onCompleted or onError twice or one after the other has
2625
* no effect.
27-
* @since (if this graduates from Experimental/Beta to supported, replace this parenthetical with the release number)
26+
* @since 1.3
2827
*/
29-
@Experimental
3028
public interface CompletableEmitter {
3129

3230
/**

src/main/java/rx/CompletableSubscriber.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@
1515
*/
1616
package rx;
1717

18-
import rx.annotations.Experimental;
19-
2018
/**
2119
* Represents the subscription API callbacks when subscribing to a Completable instance.
20+
* @since 1.3
2221
*/
23-
@Experimental
2422
public interface CompletableSubscriber {
2523
/**
2624
* Called once the deferred computation completes normally.

src/main/java/rx/Emitter.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package rx;
1818

19-
import rx.annotations.Experimental;
2019
import rx.functions.Cancellable;
2120

2221
/**
@@ -29,9 +28,8 @@
2928
* other methods are thread-safe.
3029
*
3130
* @param <T> the value type to emit
32-
* @since (if this graduates from Experimental/Beta to supported, replace this parenthetical with the release number)
31+
* @since 1.3
3332
*/
34-
@Experimental
3533
public interface Emitter<T> extends Observer<T> {
3634

3735
/**

0 commit comments

Comments
 (0)