language stringclasses 1
value | owner stringlengths 2 15 | repo stringlengths 2 21 | sha stringlengths 45 45 | message stringlengths 7 36.3k | path stringlengths 1 199 | patch stringlengths 15 102k | is_multipart bool 2
classes |
|---|---|---|---|---|---|---|---|
Other | ReactiveX | RxJava | ea4d43a7967e0db8425528289a870345ab985f71.json | 2.x: add onTerminateDetach to Single and Completable (#5624)
* 2.x: add onTerminateDetach to Single and Completable
* Improve coverage, fix lack of nulling out the downstream | src/main/java/io/reactivex/Single.java | @@ -2468,6 +2468,24 @@ public final Single<T> onErrorResumeNext(
return RxJavaPlugins.onAssembly(new SingleResumeNext<T>(this, resumeFunctionInCaseOfError));
}
+ /**
+ * Nulls out references to the upstream producer and downstream SingleObserver if
+ * the sequence is terminated or downstream... | true |
Other | ReactiveX | RxJava | ea4d43a7967e0db8425528289a870345ab985f71.json | 2.x: add onTerminateDetach to Single and Completable (#5624)
* 2.x: add onTerminateDetach to Single and Completable
* Improve coverage, fix lack of nulling out the downstream | src/main/java/io/reactivex/internal/operators/completable/CompletableDetach.java | @@ -0,0 +1,91 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | ea4d43a7967e0db8425528289a870345ab985f71.json | 2.x: add onTerminateDetach to Single and Completable (#5624)
* 2.x: add onTerminateDetach to Single and Completable
* Improve coverage, fix lack of nulling out the downstream | src/main/java/io/reactivex/internal/operators/maybe/MaybeDetach.java | @@ -69,6 +69,7 @@ public void onSuccess(T value) {
d = DisposableHelper.DISPOSED;
MaybeObserver<? super T> a = actual;
if (a != null) {
+ actual = null;
a.onSuccess(value);
}
}
@@ -78,6 +79,7 @@ public void onError(Throwable e)... | true |
Other | ReactiveX | RxJava | ea4d43a7967e0db8425528289a870345ab985f71.json | 2.x: add onTerminateDetach to Single and Completable (#5624)
* 2.x: add onTerminateDetach to Single and Completable
* Improve coverage, fix lack of nulling out the downstream | src/main/java/io/reactivex/internal/operators/single/SingleDetach.java | @@ -0,0 +1,92 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | ea4d43a7967e0db8425528289a870345ab985f71.json | 2.x: add onTerminateDetach to Single and Completable (#5624)
* 2.x: add onTerminateDetach to Single and Completable
* Improve coverage, fix lack of nulling out the downstream | src/test/java/io/reactivex/internal/operators/completable/CompletableDetachTest.java | @@ -0,0 +1,141 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | ea4d43a7967e0db8425528289a870345ab985f71.json | 2.x: add onTerminateDetach to Single and Completable (#5624)
* 2.x: add onTerminateDetach to Single and Completable
* Improve coverage, fix lack of nulling out the downstream | src/test/java/io/reactivex/internal/operators/maybe/MaybeDetachTest.java | @@ -13,11 +13,18 @@
package io.reactivex.internal.operators.maybe;
+import static org.junit.Assert.assertNull;
+
+import java.io.IOException;
+import java.lang.ref.WeakReference;
+
import org.junit.Test;
import io.reactivex.*;
+import io.reactivex.disposables.*;
import io.reactivex.exceptions.TestException;
... | true |
Other | ReactiveX | RxJava | ea4d43a7967e0db8425528289a870345ab985f71.json | 2.x: add onTerminateDetach to Single and Completable (#5624)
* 2.x: add onTerminateDetach to Single and Completable
* Improve coverage, fix lack of nulling out the downstream | src/test/java/io/reactivex/internal/operators/single/SingleDetachTest.java | @@ -0,0 +1,141 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | ad8ca8e587be6f7836e5c76707248ac955af54e3.json | 2.x: Add Single.delay overload that delays errors (#5616) | src/main/java/io/reactivex/Single.java | @@ -1617,32 +1617,53 @@ public final Flowable<T> concatWith(SingleSource<? extends T> other) {
}
/**
- * Delays the emission of the success or error signal from the current Single by
- * the specified amount.
+ * Delays the emission of the success signal from the current Single by the specified ... | true |
Other | ReactiveX | RxJava | ad8ca8e587be6f7836e5c76707248ac955af54e3.json | 2.x: Add Single.delay overload that delays errors (#5616) | src/main/java/io/reactivex/internal/operators/single/SingleDelay.java | @@ -21,17 +21,18 @@
public final class SingleDelay<T> extends Single<T> {
-
final SingleSource<? extends T> source;
final long time;
final TimeUnit unit;
final Scheduler scheduler;
+ final boolean delayError;
- public SingleDelay(SingleSource<? extends T> source, long time, TimeUnit uni... | true |
Other | ReactiveX | RxJava | ad8ca8e587be6f7836e5c76707248ac955af54e3.json | 2.x: Add Single.delay overload that delays errors (#5616) | src/test/java/io/reactivex/ParamValidationCheckerTest.java | @@ -312,7 +312,9 @@ public void checkParallelFlowable() {
// negative time is considered as zero time
addOverride(new ParamOverride(Single.class, 0, ParamMode.ANY, "delay", Long.TYPE, TimeUnit.class));
+ addOverride(new ParamOverride(Single.class, 0, ParamMode.ANY, "delay", Long.TYPE, TimeUni... | true |
Other | ReactiveX | RxJava | ad8ca8e587be6f7836e5c76707248ac955af54e3.json | 2.x: Add Single.delay overload that delays errors (#5616) | src/test/java/io/reactivex/internal/operators/single/SingleDelayTest.java | @@ -27,38 +27,64 @@
import io.reactivex.exceptions.TestException;
import io.reactivex.functions.*;
import io.reactivex.internal.subscriptions.BooleanSubscription;
+import io.reactivex.observers.TestObserver;
import io.reactivex.plugins.RxJavaPlugins;
import io.reactivex.schedulers.Schedulers;
+import io.reactivex.... | true |
Other | ReactiveX | RxJava | 15fea59b8d890174d1339818f98fb391b5647cfe.json | 2.x: Fix Observable.delay & Flowable.delay javadoc (#5617) | src/main/java/io/reactivex/Flowable.java | @@ -7261,7 +7261,7 @@ public final Flowable<T> delay(long delay, TimeUnit unit) {
/**
* Returns a Flowable that emits the items emitted by the source Publisher shifted forward in time by a
- * specified delay. Error notifications from the source Publisher are not delayed.
+ * specified delay. If {@... | true |
Other | ReactiveX | RxJava | 15fea59b8d890174d1339818f98fb391b5647cfe.json | 2.x: Fix Observable.delay & Flowable.delay javadoc (#5617) | src/main/java/io/reactivex/Observable.java | @@ -6546,7 +6546,7 @@ public final Observable<T> delay(long delay, TimeUnit unit) {
/**
* Returns an Observable that emits the items emitted by the source ObservableSource shifted forward in time by a
- * specified delay. Error notifications from the source ObservableSource are not delayed.
+ * spe... | true |
Other | ReactiveX | RxJava | 421f98e5a189dc60b4bc6f35523c78cb7731d345.json | Add missing license headers (#5615) | src/main/java/io/reactivex/observers/LambdaConsumerIntrospection.java | @@ -1,3 +1,16 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 421f98e5a189dc60b4bc6f35523c78cb7731d345.json | Add missing license headers (#5615) | src/test/java/io/reactivex/internal/observers/CallbackCompletableObserverTest.java | @@ -1,3 +1,16 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 421f98e5a189dc60b4bc6f35523c78cb7731d345.json | Add missing license headers (#5615) | src/test/java/io/reactivex/internal/observers/ConsumerSingleObserverTest.java | @@ -1,3 +1,16 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 421f98e5a189dc60b4bc6f35523c78cb7731d345.json | Add missing license headers (#5615) | src/test/java/io/reactivex/internal/observers/EmptyCompletableObserverTest.java | @@ -1,3 +1,16 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 14bebc511b242d38f1956544a86265a6f48e489d.json | Add NullPointerException comment (#5578) | src/main/java/io/reactivex/Single.java | @@ -873,6 +873,9 @@ public static Single<Long> timer(long delay, TimeUnit unit) {
* @param unit the time unit of the delay
* @param scheduler the scheduler where the single 0L will be emitted
* @return the new Single instance
+ * @throws NullPointerException
+ * if unit is null, or... | false |
Other | ReactiveX | RxJava | f61b2299d03baf16b5838510c42e1b4345db4a6e.json | 2.x: Fix flaky MaybeFromCallableTest.noErrorLoss (#5541)
* 2.x: Fix flaky MaybeFromCallableTest.noErrorLoss
* Fix the same error in 2 other Maybe tests. | src/test/java/io/reactivex/internal/operators/maybe/MaybeFromActionTest.java | @@ -135,16 +135,14 @@ public void noErrorLoss() throws Exception {
@Override
public void run() throws Exception {
cdl1.countDown();
- cdl2.await();
+ cdl2.await(5, TimeUnit.SECONDS);
}
}).subscribe... | true |
Other | ReactiveX | RxJava | f61b2299d03baf16b5838510c42e1b4345db4a6e.json | 2.x: Fix flaky MaybeFromCallableTest.noErrorLoss (#5541)
* 2.x: Fix flaky MaybeFromCallableTest.noErrorLoss
* Fix the same error in 2 other Maybe tests. | src/test/java/io/reactivex/internal/operators/maybe/MaybeFromCallableTest.java | @@ -138,7 +138,7 @@ public void noErrorLoss() throws Exception {
@Override
public Integer call() throws Exception {
cdl1.countDown();
- cdl2.await();
+ cdl2.await(5, TimeUnit.SECONDS);
return 1;
... | true |
Other | ReactiveX | RxJava | f61b2299d03baf16b5838510c42e1b4345db4a6e.json | 2.x: Fix flaky MaybeFromCallableTest.noErrorLoss (#5541)
* 2.x: Fix flaky MaybeFromCallableTest.noErrorLoss
* Fix the same error in 2 other Maybe tests. | src/test/java/io/reactivex/internal/operators/maybe/MaybeFromRunnableTest.java | @@ -134,7 +134,7 @@ public void noErrorLoss() throws Exception {
public void run() {
cdl1.countDown();
try {
- cdl2.await();
+ cdl2.await(5, TimeUnit.SECONDS);
} catch (InterruptedException ex) ... | true |
Other | ReactiveX | RxJava | 46ec6a6365ded7f9d96674baf40f7342d76ebdda.json | Fix a typo in the changelog (#5481) | CHANGES.md | @@ -1,6 +1,6 @@
# RxJava 2 Releases #
-The cnagelog of version 1.x can be found at https://github.com/ReactiveX/RxJava/blob/1.x/CHANGES.md
+The changelog of version 1.x can be found at https://github.com/ReactiveX/RxJava/blob/1.x/CHANGES.md
### Version 2.1.1 - June 21, 2017 ([Maven](http://search.maven.org/#artif... | false |
Other | ReactiveX | RxJava | cf6f5b887bdd0f2e568c600a94bb931d8969c581.json | Fix Javadoc for Flowable and Observable reduce. (#5476) | src/main/java/io/reactivex/Flowable.java | @@ -10745,7 +10745,7 @@ public final Maybe<T> reduce(BiFunction<T, T, T> reducer) {
}
/**
- * Returns a Flowable that applies a specified accumulator function to the first item emitted by a source
+ * Returns a Single that applies a specified accumulator function to the first item emitted by a sourc... | true |
Other | ReactiveX | RxJava | cf6f5b887bdd0f2e568c600a94bb931d8969c581.json | Fix Javadoc for Flowable and Observable reduce. (#5476) | src/main/java/io/reactivex/Observable.java | @@ -8988,7 +8988,7 @@ public final Maybe<T> reduce(BiFunction<T, T, T> reducer) {
}
/**
- * Returns an Observable that applies a specified accumulator function to the first item emitted by a source
+ * Returns a Single that applies a specified accumulator function to the first item emitted by a sour... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/Completable.java | @@ -143,7 +143,7 @@ public static Completable concat(Iterable<? extends CompletableSource> sources)
/**
* Returns a Completable which completes only when all sources complete, one after another.
* <dl>
- * <dt><b>Backpressure:</b><dt>
+ * <dt><b>Backpressure:</b></dt>
* <dd>The returne... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/Flowable.java | @@ -1351,7 +1351,7 @@ public static <T> Flowable<T> concat(
/**
* Concatenates a variable number of Publisher sources.
* <p>
- * Note: named this way because of overload conflict with concat(Publisher<Publisher>).
+ * Note: named this way because of overload conflict with concat(Publisher&... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/Maybe.java | @@ -94,7 +94,7 @@ public static <T> Maybe<T> ambArray(final MaybeSource<? extends T>... sources) {
* Concatenate the single values, in a non-overlapping fashion, of the MaybeSource sources provided by
* an Iterable sequence.
* <dl>
- * <dt><b>Backpressure:</b><dt>
+ * <dt><b>Backpressure:</b... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/Observable.java | @@ -69,7 +69,7 @@
* <pre><code>
* Disposable d = Observable.just("Hello world!")
* .delay(1, TimeUnit.SECONDS)
- * .subscribeWith(new DisposableObserver<String>() {
+ * .subscribeWith(new DisposableObserver<String>() {
* @Override public void onStart() {
* System.o... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/Single.java | @@ -109,7 +109,7 @@ public static <T> Single<T> ambArray(final SingleSource<? extends T>... sources)
* Concatenate the single values, in a non-overlapping fashion, of the Single sources provided by
* an Iterable sequence.
* <dl>
- * <dt><b>Backpressure:</b><dt>
+ * <dt><b>Backpressure:</b></... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/observers/DefaultObserver.java | @@ -38,7 +38,7 @@
* If for some reason this can't be avoided, use {@link io.reactivex.Observable#safeSubscribe(io.reactivex.Observer)}
* instead of the standard {@code subscribe()} method.
*
- * <p>Example<code><pre>
+ * <p>Example<pre><code>
* Observable.range(1, 5)
* .subscribe(new DefaultObserver<In... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/observers/DisposableCompletableObserver.java | @@ -33,7 +33,7 @@
* <p>Implementation of {@link #onStart()}, {@link #onError(Throwable)} and
* {@link #onComplete()} are not allowed to throw any unchecked exceptions.
*
- * <p>Example<code><pre>
+ * <p>Example<pre><code>
* Disposable d =
* Completable.complete().delay(1, TimeUnit.SECONDS)
* .subscr... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/observers/DisposableMaybeObserver.java | @@ -37,7 +37,7 @@
* <p>Implementation of {@link #onStart()}, {@link #onSuccess(Object)}, {@link #onError(Throwable)} and
* {@link #onComplete()} are not allowed to throw any unchecked exceptions.
*
- * <p>Example<code><pre>
+ * <p>Example<pre><code>
* Disposable d =
* Maybe.just(1).delay(1, TimeUnit.SECON... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/observers/DisposableObserver.java | @@ -38,7 +38,7 @@
* If for some reason this can't be avoided, use {@link io.reactivex.Observable#safeSubscribe(io.reactivex.Observer)}
* instead of the standard {@code subscribe()} method.
*
- * <p>Example<code><pre>
+ * <p>Example<pre><code>
* Disposable d =
* Observable.range(1, 5)
* .subscribeWit... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/observers/DisposableSingleObserver.java | @@ -33,7 +33,7 @@
* <p>Implementation of {@link #onStart()}, {@link #onSuccess(Object)} and {@link #onError(Throwable)}
* are not allowed to throw any unchecked exceptions.
*
- * <p>Example<code><pre>
+ * <p>Example<pre><code>
* Disposable d =
* Single.just(1).delay(1, TimeUnit.SECONDS)
* .subscribe... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/observers/ResourceCompletableObserver.java | @@ -50,7 +50,7 @@
* <p>Implementation of {@link #onStart()}, {@link #onError(Throwable)}
* and {@link #onComplete()} are not allowed to throw any unchecked exceptions.
*
- * <p>Example<code><pre>
+ * <p>Example<pre><code>
* Disposable d =
* Completable.complete().delay(1, TimeUnit.SECONDS)
* .subscr... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/observers/ResourceMaybeObserver.java | @@ -54,7 +54,7 @@
* <p>Implementation of {@link #onStart()}, {@link #onSuccess(Object)}, {@link #onError(Throwable)}
* and {@link #onComplete()} are not allowed to throw any unchecked exceptions.
*
- * <p>Example<code><pre>
+ * <p>Example<pre><code>
* Disposable d =
* Maybe.just(1).delay(1, TimeUnit.SECON... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/observers/ResourceObserver.java | @@ -49,7 +49,7 @@
* If for some reason this can't be avoided, use {@link io.reactivex.Observable#safeSubscribe(io.reactivex.Observer)}
* instead of the standard {@code subscribe()} method.
*
- * <p>Example<code><pre>
+ * <p>Example<pre><code>
* Disposable d =
* Observable.range(1, 5)
* .subscribeWit... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/observers/ResourceSingleObserver.java | @@ -51,7 +51,7 @@
* <p>Implementation of {@link #onStart()}, {@link #onSuccess(Object)} and {@link #onError(Throwable)}
* are not allowed to throw any unchecked exceptions.
*
- * <p>Example<code><pre>
+ * <p>Example<pre><code>
* Disposable d =
* Single.just(1).delay(1, TimeUnit.SECONDS)
* .subscribe... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/schedulers/Schedulers.java | @@ -313,7 +313,7 @@ public static Scheduler single() {
* <p>
* Starting, stopping and restarting this scheduler is not supported (no-op) and the provided
* executor's lifecycle must be managed externally:
- * <code><pre>
+ * <pre><code>
* ExecutorService exec = Executors.newSingleThreade... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/subscribers/DefaultSubscriber.java | @@ -49,7 +49,7 @@
* instead of the standard {@code subscribe()} method.
* @param <T> the value type
*
- * <p>Example<code><pre>
+ * <p>Example<pre><code>
* Flowable.range(1, 5)
* .subscribe(new DefaultSubscriber<Integer>() {
* @Override public void onStart() {
@@ -70,7 +70,7 @@
* ... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/subscribers/DisposableSubscriber.java | @@ -47,7 +47,7 @@
* If for some reason this can't be avoided, use {@link io.reactivex.Flowable#safeSubscribe(org.reactivestreams.Subscriber)}
* instead of the standard {@code subscribe()} method.
*
- * <p>Example<code><pre>
+ * <p>Example<pre><code>
* Disposable d =
* Flowable.range(1, 5)
* .subscri... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/main/java/io/reactivex/subscribers/ResourceSubscriber.java | @@ -60,7 +60,7 @@
* If for some reason this can't be avoided, use {@link io.reactivex.Flowable#safeSubscribe(org.reactivestreams.Subscriber)}
* instead of the standard {@code subscribe()} method.
*
- * <p>Example<code><pre>
+ * <p>Example<pre><code>
* Disposable d =
* Flowable.range(1, 5)
* .subscri... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/test/java/io/reactivex/JavadocFindUnescapedAngleBrackets.java | @@ -0,0 +1,139 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/test/java/io/reactivex/internal/operators/flowable/FlowableFilterTest.java | @@ -59,7 +59,7 @@ public boolean test(String t1) {
}
/**
- * Make sure we are adjusting subscriber.request() for filtered items
+ * Make sure we are adjusting subscriber.request() for filtered items.
* @throws InterruptedException if the test is interrupted
* @throws InterruptedException... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/test/java/io/reactivex/observable/ObservableErrorHandlingTests.java | @@ -27,7 +27,7 @@
public class ObservableErrorHandlingTests {
/**
- * Test that an error from a user provided Observer.onNext is handled and emitted to the onError
+ * Test that an error from a user provided Observer.onNext is handled and emitted to the onError.
* @throws InterruptedException if t... | true |
Other | ReactiveX | RxJava | 1327982197a13db62be28c1ad871e8f8a72e873d.json | 2.x: fix Javadoc mistakes and some style (#5460) | src/test/java/io/reactivex/tck/BaseTck.java | @@ -52,7 +52,7 @@ public long maxElementsFromPublisher() {
/**
* Creates an Iterable with the specified number of elements or an infinite one if
- * elements > Integer.MAX_VALUE
+ * elements > Integer.MAX_VALUE.
* @param elements the number of elements to return, Integer.MAX_VALUE means an in... | true |
Other | ReactiveX | RxJava | 5d6ac534b3af7b885c2e0f877bdffdbef020e85a.json | Remove the @NonNull annotation from Function (#5449)
As per per the discussion in #5447 | src/main/java/io/reactivex/functions/Function.java | @@ -29,6 +29,5 @@
* @return the output value
* @throws Exception on error
*/
- @NonNull
R apply(@NonNull T t) throws Exception;
} | false |
Other | ReactiveX | RxJava | 84d333e07459d8a786f8a549c0b1f4cd69a8f532.json | 2.x: Fix a small typo in Single.delay | src/main/java/io/reactivex/Single.java | @@ -1641,7 +1641,7 @@ public final Single<T> delay(long time, TimeUnit unit) {
*
* @param time the time amount to delay the emission of the success signal
* @param unit the time unit
- * @param scheduler the target scheduler to use fro the non-blocking wait and emission
+ * @param scheduler th... | false |
Other | ReactiveX | RxJava | 0b0355e3bc09326c8005fd26d09e7c1eb4aeb6e3.json | 2.x: Replace Action1 with Consumer in docs | src/main/java/io/reactivex/flowables/ConnectableFlowable.java | @@ -111,7 +111,7 @@ public Flowable<T> autoConnect(int numberOfSubscribers) {
* @param numberOfSubscribers the number of subscribers to await before calling connect
* on the ConnectableObservable. A non-positive value indicates
* an immediate conne... | true |
Other | ReactiveX | RxJava | 0b0355e3bc09326c8005fd26d09e7c1eb4aeb6e3.json | 2.x: Replace Action1 with Consumer in docs | src/main/java/io/reactivex/internal/operators/flowable/FlowableRefCount.java | @@ -138,10 +138,10 @@ public void subscribeActual(final Subscriber<? super T> subscriber) {
source.connect(onSubscribe(subscriber, writeLocked));
} finally {
// need to cover the case where the source is subscribed to
- // outside of this class thus preventi... | true |
Other | ReactiveX | RxJava | 0b0355e3bc09326c8005fd26d09e7c1eb4aeb6e3.json | 2.x: Replace Action1 with Consumer in docs | src/main/java/io/reactivex/internal/operators/observable/ObservableRefCount.java | @@ -68,10 +68,10 @@ public void subscribeActual(final Observer<? super T> subscriber) {
source.connect(onSubscribe(subscriber, writeLocked));
} finally {
// need to cover the case where the source is subscribed to
- // outside of this class thus preventing t... | true |
Other | ReactiveX | RxJava | 0b0355e3bc09326c8005fd26d09e7c1eb4aeb6e3.json | 2.x: Replace Action1 with Consumer in docs | src/main/java/io/reactivex/observables/ConnectableObservable.java | @@ -111,7 +111,7 @@ public Observable<T> autoConnect(int numberOfSubscribers) {
* @param numberOfSubscribers the number of subscribers to await before calling connect
* on the ConnectableObservable. A non-positive value indicates
* an immediate con... | true |
Other | ReactiveX | RxJava | c799bc08ade4fb981a2a5b2ad983a0adf1445c23.json | 2.x: Fix typo in error message. (#5354) | src/main/java/io/reactivex/observers/BaseTestConsumer.java | @@ -549,7 +549,7 @@ public final U assertValueSequence(Iterable<? extends T> sequence) {
throw fail("More values received than expected (" + i + ")");
}
if (expectedNext) {
- throw fail("Fever values received than expected (" + i + ")");
+ throw fail("Fewer values re... | false |
Other | ReactiveX | RxJava | 96b8d585c137b13e083afb5aba77eb772e3f8513.json | 2.x: update some marbles of Observable (#5351) | src/main/java/io/reactivex/Observable.java | @@ -781,6 +781,8 @@ public static <T1, T2, T3, T4, T5, T6, T7, T8, T9, R> Observable<R> combineLates
* the source ObservableSources each time an item is received from any of the source ObservableSources, where this
* aggregation is defined by a specified function.
* <p>
+ * <img width="640" height... | false |
Other | ReactiveX | RxJava | b5c7957c485e6a97af64e71674765d8bd3e54e07.json | Fix javadoc for FunctionX (#5347) | src/main/java/io/reactivex/functions/Function3.java | @@ -19,7 +19,7 @@
* A functional interface (callback) that computes a value based on multiple input values.
* @param <T1> the first value type
* @param <T2> the second value type
- * @param <T3> the second value type
+ * @param <T3> the third value type
* @param <R> the result type
*/
public interface Functi... | true |
Other | ReactiveX | RxJava | b5c7957c485e6a97af64e71674765d8bd3e54e07.json | Fix javadoc for FunctionX (#5347) | src/main/java/io/reactivex/functions/Function4.java | @@ -19,8 +19,8 @@
* A functional interface (callback) that computes a value based on multiple input values.
* @param <T1> the first value type
* @param <T2> the second value type
- * @param <T3> the second value type
- * @param <T4> the second value type
+ * @param <T3> the third value type
+ * @param <T4> the fo... | true |
Other | ReactiveX | RxJava | b5c7957c485e6a97af64e71674765d8bd3e54e07.json | Fix javadoc for FunctionX (#5347) | src/main/java/io/reactivex/functions/Function5.java | @@ -19,9 +19,9 @@
* A functional interface (callback) that computes a value based on multiple input values.
* @param <T1> the first value type
* @param <T2> the second value type
- * @param <T3> the second value type
- * @param <T4> the second value type
- * @param <T5> the second value type
+ * @param <T3> the t... | true |
Other | ReactiveX | RxJava | b5c7957c485e6a97af64e71674765d8bd3e54e07.json | Fix javadoc for FunctionX (#5347) | src/main/java/io/reactivex/functions/Function6.java | @@ -19,10 +19,10 @@
* A functional interface (callback) that computes a value based on multiple input values.
* @param <T1> the first value type
* @param <T2> the second value type
- * @param <T3> the second value type
- * @param <T4> the second value type
- * @param <T5> the second value type
- * @param <T6> the... | true |
Other | ReactiveX | RxJava | b5c7957c485e6a97af64e71674765d8bd3e54e07.json | Fix javadoc for FunctionX (#5347) | src/main/java/io/reactivex/functions/Function7.java | @@ -19,11 +19,11 @@
* A functional interface (callback) that computes a value based on multiple input values.
* @param <T1> the first value type
* @param <T2> the second value type
- * @param <T3> the second value type
- * @param <T4> the second value type
- * @param <T5> the second value type
- * @param <T6> the... | true |
Other | ReactiveX | RxJava | b5c7957c485e6a97af64e71674765d8bd3e54e07.json | Fix javadoc for FunctionX (#5347) | src/main/java/io/reactivex/functions/Function8.java | @@ -19,12 +19,12 @@
* A functional interface (callback) that computes a value based on multiple input values.
* @param <T1> the first value type
* @param <T2> the second value type
- * @param <T3> the second value type
- * @param <T4> the second value type
- * @param <T5> the second value type
- * @param <T6> the... | true |
Other | ReactiveX | RxJava | b5c7957c485e6a97af64e71674765d8bd3e54e07.json | Fix javadoc for FunctionX (#5347) | src/main/java/io/reactivex/functions/Function9.java | @@ -19,13 +19,13 @@
* A functional interface (callback) that computes a value based on multiple input values.
* @param <T1> the first value type
* @param <T2> the second value type
- * @param <T3> the second value type
- * @param <T4> the second value type
- * @param <T5> the second value type
- * @param <T6> the... | true |
Other | ReactiveX | RxJava | 8bf04e968584ed49139af9f81854ae28b225e0b0.json | 2.x: add tryOnError to create/XEmitter API (#5344)
* 2.x: add tryOnError to create/XEmitter API
* Fix indentation. | src/main/java/io/reactivex/CompletableEmitter.java | @@ -57,4 +57,19 @@ public interface CompletableEmitter {
* @return true if the downstream disposed the sequence
*/
boolean isDisposed();
+
+ /**
+ * Attempts to emit the specified {@code Throwable} error if the downstream
+ * hasn't cancelled the sequence or is otherwise terminated, returnin... | true |
Other | ReactiveX | RxJava | 8bf04e968584ed49139af9f81854ae28b225e0b0.json | 2.x: add tryOnError to create/XEmitter API (#5344)
* 2.x: add tryOnError to create/XEmitter API
* Fix indentation. | src/main/java/io/reactivex/FlowableEmitter.java | @@ -65,4 +65,19 @@
*/
@NonNull
FlowableEmitter<T> serialize();
+
+ /**
+ * Attempts to emit the specified {@code Throwable} error if the downstream
+ * hasn't cancelled the sequence or is otherwise terminated, returning false
+ * if the emission is not allowed to happen due to lifecycle r... | true |
Other | ReactiveX | RxJava | 8bf04e968584ed49139af9f81854ae28b225e0b0.json | 2.x: add tryOnError to create/XEmitter API (#5344)
* 2.x: add tryOnError to create/XEmitter API
* Fix indentation. | src/main/java/io/reactivex/MaybeEmitter.java | @@ -65,4 +65,19 @@
* @return true if the downstream cancelled the sequence
*/
boolean isDisposed();
+
+ /**
+ * Attempts to emit the specified {@code Throwable} error if the downstream
+ * hasn't cancelled the sequence or is otherwise terminated, returning false
+ * if the emission is no... | true |
Other | ReactiveX | RxJava | 8bf04e968584ed49139af9f81854ae28b225e0b0.json | 2.x: add tryOnError to create/XEmitter API (#5344)
* 2.x: add tryOnError to create/XEmitter API
* Fix indentation. | src/main/java/io/reactivex/ObservableEmitter.java | @@ -56,4 +56,19 @@
*/
@NonNull
ObservableEmitter<T> serialize();
+
+ /**
+ * Attempts to emit the specified {@code Throwable} error if the downstream
+ * hasn't cancelled the sequence or is otherwise terminated, returning false
+ * if the emission is not allowed to happen due to lifecycle... | true |
Other | ReactiveX | RxJava | 8bf04e968584ed49139af9f81854ae28b225e0b0.json | 2.x: add tryOnError to create/XEmitter API (#5344)
* 2.x: add tryOnError to create/XEmitter API
* Fix indentation. | src/main/java/io/reactivex/SingleEmitter.java | @@ -60,4 +60,19 @@
* @return true if the downstream cancelled the sequence
*/
boolean isDisposed();
+
+ /**
+ * Attempts to emit the specified {@code Throwable} error if the downstream
+ * hasn't cancelled the sequence or is otherwise terminated, returning false
+ * if the emission is no... | true |
Other | ReactiveX | RxJava | 8bf04e968584ed49139af9f81854ae28b225e0b0.json | 2.x: add tryOnError to create/XEmitter API (#5344)
* 2.x: add tryOnError to create/XEmitter API
* Fix indentation. | src/main/java/io/reactivex/internal/operators/completable/CompletableCreate.java | @@ -73,6 +73,13 @@ public void onComplete() {
@Override
public void onError(Throwable t) {
+ if (!tryOnError(t)) {
+ RxJavaPlugins.onError(t);
+ }
+ }
+
+ @Override
+ public boolean tryOnError(Throwable t) {
if (t == null) {
... | true |
Other | ReactiveX | RxJava | 8bf04e968584ed49139af9f81854ae28b225e0b0.json | 2.x: add tryOnError to create/XEmitter API (#5344)
* 2.x: add tryOnError to create/XEmitter API
* Fix indentation. | src/main/java/io/reactivex/internal/operators/flowable/FlowableCreate.java | @@ -129,21 +129,27 @@ public void onNext(T t) {
@Override
public void onError(Throwable t) {
- if (emitter.isCancelled() || done) {
- RxJavaPlugins.onError(t);
- return;
- }
- if (t == null) {
- t = new NullPointerExceptio... | true |
Other | ReactiveX | RxJava | 8bf04e968584ed49139af9f81854ae28b225e0b0.json | 2.x: add tryOnError to create/XEmitter API (#5344)
* 2.x: add tryOnError to create/XEmitter API
* Fix indentation. | src/main/java/io/reactivex/internal/operators/maybe/MaybeCreate.java | @@ -84,6 +84,13 @@ public void onSuccess(T value) {
@Override
public void onError(Throwable t) {
+ if (!tryOnError(t)) {
+ RxJavaPlugins.onError(t);
+ }
+ }
+
+ @Override
+ public boolean tryOnError(Throwable t) {
if (t == null) ... | true |
Other | ReactiveX | RxJava | 8bf04e968584ed49139af9f81854ae28b225e0b0.json | 2.x: add tryOnError to create/XEmitter API (#5344)
* 2.x: add tryOnError to create/XEmitter API
* Fix indentation. | src/main/java/io/reactivex/internal/operators/observable/ObservableCreate.java | @@ -70,6 +70,13 @@ public void onNext(T t) {
@Override
public void onError(Throwable t) {
+ if (!tryOnError(t)) {
+ RxJavaPlugins.onError(t);
+ }
+ }
+
+ @Override
+ public boolean tryOnError(Throwable t) {
if (t == null) {
... | true |
Other | ReactiveX | RxJava | 8bf04e968584ed49139af9f81854ae28b225e0b0.json | 2.x: add tryOnError to create/XEmitter API (#5344)
* 2.x: add tryOnError to create/XEmitter API
* Fix indentation. | src/main/java/io/reactivex/internal/operators/single/SingleCreate.java | @@ -78,6 +78,13 @@ public void onSuccess(T value) {
@Override
public void onError(Throwable t) {
+ if (!tryOnError(t)) {
+ RxJavaPlugins.onError(t);
+ }
+ }
+
+ @Override
+ public boolean tryOnError(Throwable t) {
if (t == null) ... | true |
Other | ReactiveX | RxJava | 8bf04e968584ed49139af9f81854ae28b225e0b0.json | 2.x: add tryOnError to create/XEmitter API (#5344)
* 2.x: add tryOnError to create/XEmitter API
* Fix indentation. | src/test/java/io/reactivex/internal/operators/completable/CompletableCreateTest.java | @@ -16,13 +16,15 @@
import static org.junit.Assert.*;
import java.io.IOException;
+import java.util.List;
import org.junit.Test;
import io.reactivex.*;
import io.reactivex.disposables.*;
import io.reactivex.exceptions.TestException;
import io.reactivex.functions.Cancellable;
+import io.reactivex.plugins.Rx... | true |
Other | ReactiveX | RxJava | 8bf04e968584ed49139af9f81854ae28b225e0b0.json | 2.x: add tryOnError to create/XEmitter API (#5344)
* 2.x: add tryOnError to create/XEmitter API
* Fix indentation. | src/test/java/io/reactivex/internal/operators/flowable/FlowableCreateTest.java | @@ -877,4 +877,59 @@ public void cancel() throws Exception {
}
}
+
+ @Test
+ public void tryOnError() {
+ for (BackpressureStrategy strategy : BackpressureStrategy.values()) {
+ List<Throwable> errors = TestHelper.trackPluginErrors();
+ try {
+ final Boo... | true |
Other | ReactiveX | RxJava | 8bf04e968584ed49139af9f81854ae28b225e0b0.json | 2.x: add tryOnError to create/XEmitter API (#5344)
* 2.x: add tryOnError to create/XEmitter API
* Fix indentation. | src/test/java/io/reactivex/internal/operators/maybe/MaybeCreateTest.java | @@ -16,12 +16,14 @@
import static org.junit.Assert.*;
import java.io.IOException;
+import java.util.List;
import org.junit.Test;
import io.reactivex.*;
import io.reactivex.disposables.*;
import io.reactivex.exceptions.TestException;
+import io.reactivex.plugins.RxJavaPlugins;
public class MaybeCreateTest... | true |
Other | ReactiveX | RxJava | 8bf04e968584ed49139af9f81854ae28b225e0b0.json | 2.x: add tryOnError to create/XEmitter API (#5344)
* 2.x: add tryOnError to create/XEmitter API
* Fix indentation. | src/test/java/io/reactivex/internal/operators/observable/ObservableCreateTest.java | @@ -595,4 +595,53 @@ public void run() {
.assertResult();
}
}
+
+ @Test
+ public void tryOnError() {
+ List<Throwable> errors = TestHelper.trackPluginErrors();
+ try {
+ final Boolean[] response = { null };
+ Observable.create(new ObservableOnSubscrib... | true |
Other | ReactiveX | RxJava | 8bf04e968584ed49139af9f81854ae28b225e0b0.json | 2.x: add tryOnError to create/XEmitter API (#5344)
* 2.x: add tryOnError to create/XEmitter API
* Fix indentation. | src/test/java/io/reactivex/internal/operators/single/SingleCreateTest.java | @@ -16,13 +16,15 @@
import static org.junit.Assert.*;
import java.io.IOException;
+import java.util.List;
import org.junit.Test;
import io.reactivex.*;
import io.reactivex.disposables.*;
import io.reactivex.exceptions.TestException;
import io.reactivex.functions.Cancellable;
+import io.reactivex.plugins.Rx... | true |
Other | ReactiveX | RxJava | ea6c7de9bbac58bec6cc286d31255febc6c74ed8.json | Fix Javadoc for Maybe.toSingle (#5343) | src/main/java/io/reactivex/Maybe.java | @@ -3116,7 +3116,8 @@ public final Observable<T> toObservable() {
/**
* Converts this Maybe into a Single instance composing cancellation
- * through and turning an empty Maybe into a signal of NoSuchElementException.
+ * through and turning an empty Maybe into a Single that emits the given
+ *... | false |
Other | ReactiveX | RxJava | 7ce777f9c57bec5e38bb48503877f5baddb7cd3d.json | Add missing bracket (#5326)
Difficult to count those with all the java 7 boilerplate! | README.md | @@ -63,7 +63,7 @@ Flowable.just("Hello world")
@Override public void accept(String s) {
System.out.println(s);
}
- );
+ });
```
RxJava 2 features several base classes you can discover operators on: | false |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/Completable.java | @@ -986,12 +986,12 @@ public final Throwable blockingGet(long timeout, TimeUnit unit) {
* <dt><b>Scheduler:</b></dt>
* <dd>{@code cache} does not operate by default on a particular {@link Scheduler}.</dd>
* </dl>
+ * <p>History: 2.0.4 - experimental
* @return the new Completable instance
-... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/Flowable.java | @@ -7648,14 +7648,14 @@ public final Flowable<T> distinctUntilChanged(BiPredicate<? super T, ? super T>
* <dd>This operator supports normal and conditional Subscribers as well as boundary-limited
* synchronous or asynchronous queue-fusion.</dd>
* </dl>
+ * <p>History: 2.0.1 - experimental
... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/FlowableSubscriber.java | @@ -20,10 +20,11 @@
* Represents a Reactive-Streams inspired Subscriber that is RxJava 2 only
* and weakens rules §1.3 and §3.9 of the specification for gaining performance.
*
+ * <p>History: 2.0.7 - experimental
* @param <T> the value type
- * @since 2.0.7 - experimental
+ * @since 2.1 - beta
*/
-@Experiment... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/Maybe.java | @@ -2375,13 +2375,13 @@ public final Maybe<T> delaySubscription(long delay, TimeUnit unit, Scheduler sch
* <dt><b>Scheduler:</b></dt>
* <dd>{@code doAfterSuccess} does not operate by default on a particular {@link Scheduler}.</dd>
* </dl>
+ * <p>History: 2.0.1 - experimental
* @param onAft... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/Observable.java | @@ -6825,13 +6825,13 @@ public final Observable<T> distinctUntilChanged(BiPredicate<? super T, ? super T
* <td><b>Operator-fusion:</b></dt>
* <dd>This operator supports boundary-limited synchronous or asynchronous queue-fusion.</dd>
* </dl>
+ * <p>History: 2.0.1 - experimental
* @param onA... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/Scheduler.java | @@ -239,13 +239,14 @@ public Disposable schedulePeriodicallyDirect(@NonNull Runnable run, long initial
* });
* </pre>
*
+ * <p>History: 2.0.1 - experimental
* @param <S> a Scheduler and a Subscription
* @param combine the function that takes a two-level nested Flowable sequence of a C... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/Single.java | @@ -1793,13 +1793,13 @@ public final <U> Single<T> delaySubscription(long time, TimeUnit unit, Scheduler
* <dt><b>Scheduler:</b></dt>
* <dd>{@code doAfterSuccess} does not operate by default on a particular {@link Scheduler}.</dd>
* </dl>
+ * <p>History: 2.0.1 - experimental
* @param onAft... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/annotations/BackpressureKind.java | @@ -15,6 +15,7 @@
/**
* Enumeration for various kinds of backpressure support.
+ * @since 2.0
*/
public enum BackpressureKind {
/** | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/annotations/BackpressureSupport.java | @@ -17,6 +17,7 @@
/**
* Indicates the backpressure support kind of the associated operator or class.
+ * @since 2.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Documented | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/annotations/CheckReturnValue.java | @@ -21,13 +21,12 @@
/**
* Marks methods whose return values should be checked.
- *
- * @since 2.0.2 - experimental
+ * <p>History: 2.0.2 - experimental
+ * @since 2.1
*/
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Target(ElementType.METHOD)
-@Experimental
public @interface CheckReturnValue {
} | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/annotations/SchedulerSupport.java | @@ -24,6 +24,7 @@
* {@linkplain #NONE not using a scheduler} and {@linkplain #CUSTOM a manually-specified scheduler}.
* Libraries providing their own values should namespace them with their base package name followed
* by a colon ({@code :}) and then a human-readable name (e.g., {@code com.example:ui-thread}).
+ ... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/exceptions/OnErrorNotImplementedException.java | @@ -19,9 +19,10 @@
* Represents an exception used to signal to the {@code RxJavaPlugins.onError()} that a
* callback-based subscribe() method on a base reactive type didn't specify
* an onError handler.
- * @since 2.0.6 - experimental
+ * <p>History: 2.0.6 - experimental
+ * @since 2.1 - beta
*/
-@Experimental
... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/exceptions/ProtocolViolationException.java | @@ -13,14 +13,15 @@
package io.reactivex.exceptions;
-import io.reactivex.annotations.Experimental;
+import io.reactivex.annotations.Beta;
/**
* Explicitly named exception to indicate a Reactive-Streams
* protocol violation.
- * @since 2.0.6 - experimental
+ * <p>History: 2.0.6 - experimental
+ * @since 2.1... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/exceptions/UndeliverableException.java | @@ -13,13 +13,14 @@
package io.reactivex.exceptions;
-import io.reactivex.annotations.Experimental;
+import io.reactivex.annotations.Beta;
/**
* Wrapper for Throwable errors that are sent to `RxJavaPlugins.onError`.
- * @since 2.0.6 - experimental
+ * <p>History: 2.0.6 - experimental
+ * @since 2.1 - beta
*... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/observers/BaseTestConsumer.java | @@ -17,7 +17,6 @@
import java.util.concurrent.*;
import io.reactivex.Notification;
-import io.reactivex.annotations.Experimental;
import io.reactivex.disposables.Disposable;
import io.reactivex.exceptions.CompositeException;
import io.reactivex.functions.Predicate;
@@ -338,11 +337,11 @@ public final U assertValu... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/parallel/ParallelFlowable.java | @@ -34,10 +34,11 @@
* Use {@code runOn()} to introduce where each 'rail' should run on thread-vise.
* Use {@code sequential()} to merge the sources back into a single Flowable.
*
+ * <p>History: 2.0.5 - experimental
* @param <T> the value type
- * @since 2.0.5 - experimental
+ * @since 2.1 - beta
*/
-@Experim... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/plugins/RxJavaPlugins.java | @@ -12,39 +12,22 @@
*/
package io.reactivex.plugins;
-import io.reactivex.Completable;
-import io.reactivex.CompletableObserver;
-import io.reactivex.Flowable;
-import io.reactivex.Maybe;
-import io.reactivex.MaybeObserver;
-import io.reactivex.Observable;
-import io.reactivex.Observer;
-import io.reactivex.Schedu... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/subjects/CompletableSubject.java | @@ -29,9 +29,9 @@
* <p>
* The CompletableSubject doesn't store the Disposables coming through onSubscribe but
* disposes them once the other onXXX methods were called (terminal state reached).
- * @since 2.0.5 - experimental
+ * <p>History: 2.0.5 - experimental
+ * @since 2.1
*/
-@Experimental
public final cla... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/subjects/MaybeSubject.java | @@ -29,10 +29,10 @@
* <p>
* The MaybeSubject doesn't store the Disposables coming through onSubscribe but
* disposes them once the other onXXX methods were called (terminal state reached).
+ * <p>History: 2.0.5 - experimental
* @param <T> the value type received and emitted
- * @since 2.0.5 - experimental
+ * @... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/subjects/SingleSubject.java | @@ -29,10 +29,10 @@
* <p>
* The SingleSubject doesn't store the Disposables coming through onSubscribe but
* disposes them once the other onXXX methods were called (terminal state reached).
+ * <p>History: 2.0.5 - experimental
* @param <T> the value type received and emitted
- * @since 2.0.5 - experimental
+ * ... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/main/java/io/reactivex/subscribers/TestSubscriber.java | @@ -17,7 +17,6 @@
import org.reactivestreams.*;
import io.reactivex.FlowableSubscriber;
-import io.reactivex.annotations.Experimental;
import io.reactivex.disposables.Disposable;
import io.reactivex.functions.Consumer;
import io.reactivex.internal.fuseable.QueueSubscription;
@@ -410,11 +409,11 @@ public final Te... | true |
Other | ReactiveX | RxJava | 2d20a170454cd3bb7dbdc6d9d2d9a279bae5e2b0.json | 2.x: Apply promotions for v2.1 (#5307) | src/test/java/io/reactivex/internal/operators/flowable/FlowableStrictTest.java | @@ -1,308 +0,0 @@
-/**
- * Copyright (c) 2016-present, RxJava Contributors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unle... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.