Skip to content

Commit 94ae795

Browse files
authored
3.x: Promote Beta/Experimental to Standard (#6537)
1 parent 62d2b31 commit 94ae795

File tree

12 files changed

+34
-40
lines changed

12 files changed

+34
-40
lines changed

src/main/java/io/reactivex/Completable.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1412,15 +1412,15 @@ public final Completable delay(final long delay, final TimeUnit unit, final Sche
14121412
* <dt><b>Scheduler:</b></dt>
14131413
* <dd>This version of {@code delaySubscription} operates by default on the {@code computation} {@link Scheduler}.</dd>
14141414
* </dl>
1415+
* <p>History: 2.2.3 - experimental
14151416
*
14161417
* @param delay the time to delay the subscription
14171418
* @param unit the time unit of {@code delay}
14181419
* @return a Completable that delays the subscription to the source CompletableSource by the given amount
1419-
* @since 2.2.3 - experimental
1420+
* @since 3.0.0
14201421
* @see <a href="http://reactivex.io/documentation/operators/delay.html">ReactiveX operators documentation: Delay</a>
14211422
*/
14221423
@CheckReturnValue
1423-
@Experimental
14241424
@SchedulerSupport(SchedulerSupport.COMPUTATION)
14251425
public final Completable delaySubscription(long delay, TimeUnit unit) {
14261426
return delaySubscription(delay, unit, Schedulers.computation());
@@ -1435,17 +1435,16 @@ public final Completable delaySubscription(long delay, TimeUnit unit) {
14351435
* <dt><b>Scheduler:</b></dt>
14361436
* <dd>You specify which {@link Scheduler} this operator will use.</dd>
14371437
* </dl>
1438-
*
1438+
* <p>History: 2.2.3 - experimental
14391439
* @param delay the time to delay the subscription
14401440
* @param unit the time unit of {@code delay}
14411441
* @param scheduler the Scheduler on which the waiting and subscription will happen
14421442
* @return a Completable that delays the subscription to the source CompletableSource by a given
14431443
* amount, waiting and subscribing on the given Scheduler
1444-
* @since 2.2.3 - experimental
1444+
* @since 3.0.0
14451445
* @see <a href="http://reactivex.io/documentation/operators/delay.html">ReactiveX operators documentation: Delay</a>
14461446
*/
14471447
@CheckReturnValue
1448-
@Experimental
14491448
@SchedulerSupport(SchedulerSupport.CUSTOM)
14501449
public final Completable delaySubscription(long delay, TimeUnit unit, Scheduler scheduler) {
14511450
return Completable.timer(delay, unit, scheduler).andThen(this);
@@ -1809,12 +1808,12 @@ public final Completable lift(final CompletableOperator onLift) {
18091808
* <dt><b>Scheduler:</b></dt>
18101809
* <dd>{@code materialize} does not operate by default on a particular {@link Scheduler}.</dd>
18111810
* </dl>
1811+
* <p>History: 2.2.4 - experimental
18121812
* @param <T> the intended target element type of the notification
18131813
* @return the new Single instance
1814-
* @since 2.2.4 - experimental
1814+
* @since 3.0.0
18151815
* @see Single#dematerialize(Function)
18161816
*/
1817-
@Experimental
18181817
@CheckReturnValue
18191818
@SchedulerSupport(SchedulerSupport.NONE)
18201819
public final <T> Single<Notification<T>> materialize() {

src/main/java/io/reactivex/Flowable.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8825,16 +8825,16 @@ public final <T2> Flowable<T2> dematerialize() {
88258825
* <dt><b>Scheduler:</b></dt>
88268826
* <dd>{@code dematerialize} does not operate by default on a particular {@link Scheduler}.</dd>
88278827
* </dl>
8828+
* <p>History: 2.2.4 - experimental
88288829
*
88298830
* @param <R> the output value type
88308831
* @param selector function that returns the upstream item and should return a Notification to signal
88318832
* the corresponding {@code Subscriber} event to the downstream.
88328833
* @return a Flowable that emits the items and notifications embedded in the {@link Notification} objects
88338834
* selected from the items emitted by the source Flowable
88348835
* @see <a href="http://reactivex.io/documentation/operators/materialize-dematerialize.html">ReactiveX operators documentation: Dematerialize</a>
8835-
* @since 2.2.4 - experimental
8836+
* @since 3.0.0
88368837
*/
8837-
@Experimental
88388838
@CheckReturnValue
88398839
@NonNull
88408840
@SchedulerSupport(SchedulerSupport.NONE)

src/main/java/io/reactivex/Maybe.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2936,13 +2936,13 @@ public final Maybe<T> doOnSubscribe(Consumer<? super Disposable> onSubscribe) {
29362936
* <dt><b>Scheduler:</b></dt>
29372937
* <dd>{@code doOnTerminate} does not operate by default on a particular {@link Scheduler}.</dd>
29382938
* </dl>
2939+
* <p>History: 2.2.7 - experimental
29392940
* @param onTerminate the action to invoke when the consumer calls {@code onComplete} or {@code onError}
29402941
* @return the new Maybe instance
29412942
* @see <a href="http://reactivex.io/documentation/operators/do.html">ReactiveX operators documentation: Do</a>
29422943
* @see #doOnTerminate(Action)
2943-
* @since 2.2.7 - experimental
2944+
* @since 3.0.0
29442945
*/
2945-
@Experimental
29462946
@CheckReturnValue
29472947
@NonNull
29482948
@SchedulerSupport(SchedulerSupport.NONE)
@@ -3521,11 +3521,11 @@ public final <R> Maybe<R> map(Function<? super T, ? extends R> mapper) {
35213521
* <dt><b>Scheduler:</b></dt>
35223522
* <dd>{@code materialize} does not operate by default on a particular {@link Scheduler}.</dd>
35233523
* </dl>
3524+
* <p>History: 2.2.4 - experimental
35243525
* @return the new Single instance
3525-
* @since 2.2.4 - experimental
3526+
* @since 3.0.0
35263527
* @see Single#dematerialize(Function)
35273528
*/
3528-
@Experimental
35293529
@CheckReturnValue
35303530
@SchedulerSupport(SchedulerSupport.NONE)
35313531
public final Single<Notification<T>> materialize() {

src/main/java/io/reactivex/Observable.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7778,16 +7778,16 @@ public final <T2> Observable<T2> dematerialize() {
77787778
* <dt><b>Scheduler:</b></dt>
77797779
* <dd>{@code dematerialize} does not operate by default on a particular {@link Scheduler}.</dd>
77807780
* </dl>
7781+
* <p>History: 2.2.4 - experimental
77817782
*
77827783
* @param <R> the output value type
77837784
* @param selector function that returns the upstream item and should return a Notification to signal
77847785
* the corresponding {@code Observer} event to the downstream.
77857786
* @return an Observable that emits the items and notifications embedded in the {@link Notification} objects
77867787
* selected from the items emitted by the source ObservableSource
77877788
* @see <a href="http://reactivex.io/documentation/operators/materialize-dematerialize.html">ReactiveX operators documentation: Dematerialize</a>
7788-
* @since 2.2.4 - experimental
7789+
* @since 3.0.0
77897790
*/
7790-
@Experimental
77917791
@CheckReturnValue
77927792
@SchedulerSupport(SchedulerSupport.NONE)
77937793
public final <R> Observable<R> dematerialize(Function<? super T, Notification<R>> selector) {

src/main/java/io/reactivex/Single.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2402,17 +2402,17 @@ public final Single<T> delaySubscription(long time, TimeUnit unit, Scheduler sch
24022402
* .test()
24032403
* .assertResult(1);
24042404
* </code></pre>
2405+
* <p>History: 2.2.4 - experimental
24052406
* @param <R> the result type
24062407
* @param selector the function called with the success item and should
24072408
* return a {@link Notification} instance.
24082409
* @return the new Maybe instance
2409-
* @since 2.2.4 - experimental
2410+
* @since 3.0.0
24102411
* @see #materialize()
24112412
*/
24122413
@CheckReturnValue
24132414
@NonNull
24142415
@SchedulerSupport(SchedulerSupport.NONE)
2415-
@Experimental
24162416
public final <R> Maybe<R> dematerialize(Function<? super T, Notification<R>> selector) {
24172417
ObjectHelper.requireNonNull(selector, "selector is null");
24182418
return RxJavaPlugins.onAssembly(new SingleDematerialize<T, R>(this, selector));
@@ -2532,13 +2532,13 @@ public final Single<T> doOnSubscribe(final Consumer<? super Disposable> onSubscr
25322532
* <dt><b>Scheduler:</b></dt>
25332533
* <dd>{@code doOnTerminate} does not operate by default on a particular {@link Scheduler}.</dd>
25342534
* </dl>
2535+
* <p>History: 2.2.7 - experimental
25352536
* @param onTerminate the action to invoke when the consumer calls {@code onComplete} or {@code onError}
25362537
* @return the new Single instance
25372538
* @see <a href="http://reactivex.io/documentation/operators/do.html">ReactiveX operators documentation: Do</a>
25382539
* @see #doOnTerminate(Action)
2539-
* @since 2.2.7 - experimental
2540+
* @since 3.0.0
25402541
*/
2541-
@Experimental
25422542
@CheckReturnValue
25432543
@NonNull
25442544
@SchedulerSupport(SchedulerSupport.NONE)
@@ -3042,11 +3042,11 @@ public final <R> Single<R> map(Function<? super T, ? extends R> mapper) {
30423042
* <dt><b>Scheduler:</b></dt>
30433043
* <dd>{@code materialize} does not operate by default on a particular {@link Scheduler}.</dd>
30443044
* </dl>
3045+
* <p>History: 2.2.4 - experimental
30453046
* @return the new Single instance
3046-
* @since 2.2.4 - experimental
3047+
* @since 3.0.0
30473048
* @see #dematerialize(Function)
30483049
*/
3049-
@Experimental
30503050
@CheckReturnValue
30513051
@SchedulerSupport(SchedulerSupport.NONE)
30523052
public final Single<Notification<T>> materialize() {

src/main/java/io/reactivex/internal/operators/completable/CompletableMaterialize.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,16 @@
1414
package io.reactivex.internal.operators.completable;
1515

1616
import io.reactivex.*;
17-
import io.reactivex.annotations.Experimental;
1817
import io.reactivex.internal.operators.mixed.MaterializeSingleObserver;
1918

2019
/**
2120
* Turn the signal types of a Completable source into a single Notification of
2221
* equal kind.
22+
* <p>History: 2.2.4 - experimental
2323
*
2424
* @param <T> the element type of the source
25-
* @since 2.2.4 - experimental
25+
* @since 3.0.0
2626
*/
27-
@Experimental
2827
public final class CompletableMaterialize<T> extends Single<Notification<T>> {
2928

3029
final Completable source;

src/main/java/io/reactivex/internal/operators/maybe/MaybeMaterialize.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,16 @@
1414
package io.reactivex.internal.operators.maybe;
1515

1616
import io.reactivex.*;
17-
import io.reactivex.annotations.Experimental;
1817
import io.reactivex.internal.operators.mixed.MaterializeSingleObserver;
1918

2019
/**
2120
* Turn the signal types of a Maybe source into a single Notification of
2221
* equal kind.
22+
* <p>History: 2.2.4 - experimental
2323
*
2424
* @param <T> the element type of the source
25-
* @since 2.2.4 - experimental
25+
* @since 3.0.0
2626
*/
27-
@Experimental
2827
public final class MaybeMaterialize<T> extends Single<Notification<T>> {
2928

3029
final Maybe<T> source;

src/main/java/io/reactivex/internal/operators/mixed/MaterializeSingleObserver.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,16 @@
1414
package io.reactivex.internal.operators.mixed;
1515

1616
import io.reactivex.*;
17-
import io.reactivex.annotations.Experimental;
1817
import io.reactivex.disposables.Disposable;
1918
import io.reactivex.internal.disposables.DisposableHelper;
2019

2120
/**
2221
* A consumer that implements the consumer types of Maybe, Single and Completable
2322
* and turns their signals into Notifications for a SingleObserver.
23+
* <p>History: 2.2.4 - experimental
2424
* @param <T> the element type of the source
25-
* @since 2.2.4 - experimental
25+
* @since 3.0.0
2626
*/
27-
@Experimental
2827
public final class MaterializeSingleObserver<T>
2928
implements SingleObserver<T>, MaybeObserver<T>, CompletableObserver, Disposable {
3029

src/main/java/io/reactivex/internal/operators/single/SingleDematerialize.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
package io.reactivex.internal.operators.single;
1515

1616
import io.reactivex.*;
17-
import io.reactivex.annotations.Experimental;
1817
import io.reactivex.disposables.Disposable;
1918
import io.reactivex.exceptions.Exceptions;
2019
import io.reactivex.functions.Function;
@@ -24,11 +23,11 @@
2423
/**
2524
* Maps the success value of the source to a Notification, then
2625
* maps it back to the corresponding signal type.
26+
* <p>History: 2.2.4 - experimental
2727
* @param <T> the element type of the source
2828
* @param <R> the element type of the Notification and result
29-
* @since 2.2.4 - experimental
29+
* @since 3.0.0
3030
*/
31-
@Experimental
3231
public final class SingleDematerialize<T, R> extends Maybe<R> {
3332

3433
final Single<T> source;

src/main/java/io/reactivex/internal/operators/single/SingleMaterialize.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,16 @@
1414
package io.reactivex.internal.operators.single;
1515

1616
import io.reactivex.*;
17-
import io.reactivex.annotations.Experimental;
1817
import io.reactivex.internal.operators.mixed.MaterializeSingleObserver;
1918

2019
/**
2120
* Turn the signal types of a Single source into a single Notification of
2221
* equal kind.
22+
* <p>History: 2.2.4 - experimental
2323
*
2424
* @param <T> the element type of the source
25-
* @since 2.2.4 - experimental
25+
* @since 3.0.0
2626
*/
27-
@Experimental
2827
public final class SingleMaterialize<T> extends Single<Notification<T>> {
2928

3029
final Single<T> source;

0 commit comments

Comments
 (0)