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
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/flowable/FlowableTakeTest.java
@@ -471,4 +471,28 @@ public Flowable<Object> apply(Flowable<Object> o) throws Exception { }); } + + @Test + public void badRequest() { + TestHelper.assertBadRequestReported(Flowable.never().take(1)); + } + + @Test + public void requestRace() { + for (int i = 0; i < TestHelpe...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/flowable/FlowableTakeUntilTest.java
@@ -20,6 +20,7 @@ import org.reactivestreams.*; import io.reactivex.*; +import io.reactivex.functions.Function; import io.reactivex.processors.PublishProcessor; import io.reactivex.subscribers.TestSubscriber; @@ -282,4 +283,14 @@ public void testBackpressure() { public void dispose() { TestHelper....
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/flowable/FlowableTimeIntervalTest.java
@@ -19,7 +19,7 @@ import org.junit.*; import org.mockito.InOrder; -import org.reactivestreams.Subscriber; +import org.reactivestreams.*; import io.reactivex.*; import io.reactivex.exceptions.TestException; @@ -137,4 +137,14 @@ public void error() { .assertFailure(TestException.class); } + @Te...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/flowable/FlowableToListTest.java
@@ -25,6 +25,7 @@ import io.reactivex.*; import io.reactivex.exceptions.TestException; +import io.reactivex.functions.Function; import io.reactivex.observers.TestObserver; import io.reactivex.processors.PublishProcessor; import io.reactivex.schedulers.Schedulers; @@ -466,4 +467,22 @@ public void run() { ...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/flowable/FlowableUnsubscribeOnTest.java
@@ -35,7 +35,7 @@ public class FlowableUnsubscribeOnTest { @Test(timeout = 5000) public void unsubscribeWhenSubscribeOnAndUnsubscribeOnAreOnSameThread() throws InterruptedException { - UIEventLoopScheduler UI_EVENT_LOOP = new UIEventLoopScheduler(); + UIEventLoopScheduler uiEventLoop = new UIE...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/maybe/MaybeAmbTest.java
@@ -20,6 +20,7 @@ import org.junit.Test; import io.reactivex.*; +import io.reactivex.disposables.Disposables; import io.reactivex.exceptions.TestException; import io.reactivex.observers.TestObserver; import io.reactivex.plugins.RxJavaPlugins; @@ -108,4 +109,24 @@ public void run() { } } ...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/maybe/MaybeDelayOtherTest.java
@@ -18,10 +18,12 @@ import java.util.List; import org.junit.Test; +import org.reactivestreams.Subscriber; import io.reactivex.*; import io.reactivex.exceptions.*; import io.reactivex.functions.Function; +import io.reactivex.internal.subscriptions.BooleanSubscription; import io.reactivex.observers.TestObserver...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/maybe/MaybeFromActionTest.java
@@ -14,6 +14,7 @@ package io.reactivex.internal.operators.maybe; import static org.junit.Assert.*; +import static org.mockito.Mockito.*; import java.util.List; import java.util.concurrent.*; @@ -154,4 +155,31 @@ public void run() throws Exception { RxJavaPlugins.reset(); } } + + @T...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/maybe/MaybeFromFutureTest.java
@@ -13,12 +13,17 @@ package io.reactivex.internal.operators.maybe; +import static org.junit.Assert.assertTrue; + import java.util.concurrent.*; import org.junit.Test; import io.reactivex.Maybe; +import io.reactivex.exceptions.TestException; import io.reactivex.internal.functions.Functions; +import io.react...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/maybe/MaybeFromRunnableTest.java
@@ -14,6 +14,7 @@ package io.reactivex.internal.operators.maybe; import static org.junit.Assert.*; +import static org.mockito.Mockito.*; import java.util.List; import java.util.concurrent.*; @@ -158,4 +159,31 @@ public void run() { RxJavaPlugins.reset(); } } + + @Test + public v...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/maybe/MaybeMapTest.java
@@ -0,0 +1,33 @@ +/** + * 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
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/observable/ObservableDebounceTest.java
@@ -20,6 +20,7 @@ import java.util.List; import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicReference; import org.junit.*; import org.mockito.InOrder; @@ -32,7 +33,7 @@ import io.reactivex.observers.TestObserver; import io.reactivex.plugins.RxJavaPlugins; import io.reactivex.sche...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/observable/ObservableDoAfterNextTest.java
@@ -26,8 +26,7 @@ import io.reactivex.internal.functions.Functions; import io.reactivex.internal.fuseable.QueueSubscription; import io.reactivex.observers.*; -import io.reactivex.processors.UnicastProcessor; -import io.reactivex.subscribers.*; +import io.reactivex.subjects.UnicastSubject; public class ObservableD...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/observable/ObservableGroupJoinTest.java
@@ -15,6 +15,7 @@ */ package io.reactivex.internal.operators.observable; +import static org.junit.Assert.*; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.*; @@ -30,6 +31,7 @@ import io.reactivex.exceptions.*; import io.reactivex.functions.*; import io.reactivex.internal.f...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/observable/ObservableIntervalTest.java
@@ -18,6 +18,8 @@ import org.junit.Test; import io.reactivex.*; +import io.reactivex.internal.operators.observable.ObservableInterval.IntervalObserver; +import io.reactivex.observers.TestObserver; import io.reactivex.schedulers.*; public class ObservableIntervalTest { @@ -34,4 +36,17 @@ public void cancel() { ...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/observable/ObservablePublishTest.java
@@ -720,4 +720,22 @@ protected void subscribeActual(Observer<? super Integer> s) { assertTrue(bs.isDisposed()); } + + @Test + public void doubleOnSubscribe() { + TestHelper.checkDoubleOnSubscribeObservable(new Function<Observable<Object>, ObservableSource<Object>>() { + @Override...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/observable/ObservableRepeatTest.java
@@ -37,7 +37,7 @@ public class ObservableRepeatTest { @Test(timeout = 2000) public void testRepetition() { - int NUM = 10; + int num = 10; final AtomicInteger count = new AtomicInteger(); int value = Observable.unsafeCreate(new ObservableSource<Integer>() { @@ -47,9 +47,9 @...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/observable/ObservableRetryTest.java
@@ -111,13 +111,13 @@ public static class Tuple { @Test public void testRetryIndefinitely() { Observer<String> observer = TestHelper.mockObserver(); - int NUM_RETRIES = 20; - Observable<String> origin = Observable.unsafeCreate(new FuncWithErrors(NUM_RETRIES)); + int numRetries = ...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/observable/ObservableSampleTest.java
@@ -24,6 +24,7 @@ import io.reactivex.*; import io.reactivex.disposables.*; import io.reactivex.exceptions.TestException; +import io.reactivex.functions.Function; import io.reactivex.observers.TestObserver; import io.reactivex.schedulers.*; import io.reactivex.subjects.PublishSubject; @@ -426,4 +427,15 @@ public ...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/observable/ObservableSkipLastTest.java
@@ -24,6 +24,7 @@ import io.reactivex.*; import io.reactivex.exceptions.TestException; +import io.reactivex.functions.Function; import io.reactivex.observers.TestObserver; import io.reactivex.schedulers.Schedulers; @@ -120,4 +121,15 @@ public void error() { .test() .assertFailure(TestException...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/observable/ObservableSkipTest.java
@@ -21,6 +21,7 @@ import org.junit.Test; import io.reactivex.*; +import io.reactivex.functions.Function; import io.reactivex.observers.TestObserver; public class ObservableSkipTest { @@ -148,4 +149,15 @@ public void testRequestOverflowDoesNotOccur() { public void dispose() { TestHelper.checkDispos...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/observable/ObservableTakeUntilTest.java
@@ -20,6 +20,7 @@ import io.reactivex.*; import io.reactivex.disposables.Disposable; +import io.reactivex.functions.Function; import io.reactivex.observers.TestObserver; import io.reactivex.subjects.PublishSubject; @@ -260,4 +261,14 @@ public void testDownstreamUnsubscribes() { public void dispose() { ...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/observable/ObservableTimeIntervalTest.java
@@ -135,4 +135,15 @@ public void error() { .test() .assertFailure(TestException.class); } + + @Test + public void doubleOnSubscribe() { + TestHelper.checkDoubleOnSubscribeObservable(new Function<Observable<Object>, Observable<Timed<Object>>>() { + @Override + pu...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/observable/ObservableTimerTest.java
@@ -14,6 +14,7 @@ package io.reactivex.internal.operators.observable; import static org.junit.Assert.assertTrue; +import static org.mockito.ArgumentMatchers.*; import static org.mockito.Mockito.*; import java.util.List; @@ -24,8 +25,10 @@ import org.mockito.*; import io.reactivex.*; +import io.reactivex.dis...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/observable/ObservableToListTest.java
@@ -26,6 +26,7 @@ import io.reactivex.Observable; import io.reactivex.Observer; import io.reactivex.exceptions.TestException; +import io.reactivex.functions.Function; public class ObservableToListTest { @@ -270,4 +271,22 @@ public Collection<Integer> call() throws Exception { .assertFailure(NullPointer...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/observable/ObservableUnsubscribeOnTest.java
@@ -34,7 +34,7 @@ public class ObservableUnsubscribeOnTest { @Test(timeout = 5000) public void unsubscribeWhenSubscribeOnAndUnsubscribeOnAreOnSameThread() throws InterruptedException { - UIEventLoopScheduler UI_EVENT_LOOP = new UIEventLoopScheduler(); + UIEventLoopScheduler uiEventLoop = new U...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/operators/single/SingleDelayTest.java
@@ -13,11 +13,11 @@ package io.reactivex.internal.operators.single; -import static org.junit.Assert.*; +import static org.junit.Assert.assertNotEquals; import java.util.List; import java.util.concurrent.*; -import java.util.concurrent.atomic.*; +import java.util.concurrent.atomic.AtomicReference; import org...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/schedulers/SchedulerPoolFactoryTest.java
@@ -16,14 +16,131 @@ package io.reactivex.internal.schedulers; +import static org.junit.Assert.*; + +import java.util.Properties; + import org.junit.Test; import io.reactivex.TestHelper; +import io.reactivex.internal.schedulers.SchedulerPoolFactory.PurgeProperties; +import io.reactivex.schedulers.Schedulers; ...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/schedulers/TrampolineSchedulerInternalTest.java
@@ -25,7 +25,9 @@ import io.reactivex.Scheduler.Worker; import io.reactivex.internal.disposables.EmptyDisposable; import io.reactivex.internal.functions.Functions; +import io.reactivex.internal.schedulers.TrampolineScheduler.*; import io.reactivex.schedulers.Schedulers; +import static org.mockito.Mockito.*; publ...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/subscribers/DeferredScalarSubscriberTest.java
@@ -28,7 +28,6 @@ import io.reactivex.*; import io.reactivex.Scheduler.Worker; import io.reactivex.exceptions.TestException; -import io.reactivex.internal.subscribers.DeferredScalarSubscriber; import io.reactivex.internal.subscriptions.BooleanSubscription; import io.reactivex.plugins.RxJavaPlugins; import io.reac...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/subscribers/SubscriberResourceWrapperTest.java
@@ -16,9 +16,12 @@ import static org.junit.Assert.*; import org.junit.Test; +import org.reactivestreams.Subscriber; +import io.reactivex.*; import io.reactivex.disposables.*; import io.reactivex.exceptions.TestException; +import io.reactivex.functions.Function; import io.reactivex.internal.subscriptions.Boolea...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/subscriptions/SubscriptionHelperTest.java
@@ -14,14 +14,15 @@ package io.reactivex.internal.subscriptions; import static org.junit.Assert.*; - +import static org.mockito.Mockito.*; import java.util.List; import java.util.concurrent.atomic.*; import org.junit.Test; import org.reactivestreams.Subscription; import io.reactivex.TestHelper; +import io....
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/internal/util/QueueDrainHelperTest.java
@@ -16,15 +16,20 @@ import static org.junit.Assert.*; import java.io.IOException; -import java.util.ArrayDeque; +import java.util.*; import java.util.concurrent.atomic.AtomicLong; import org.junit.Test; -import org.reactivestreams.Subscription; +import org.reactivestreams.*; +import io.reactivex.Observer; im...
true
Other
ReactiveX
RxJava
cb05a2614c11ebb7b86e723556f98e50546a50ed.json
2.x: Improve coverage & related cleanup 03/05 (#5891) * 2.x: Improve coverage & related cleanup 03/05 * Fix camelCase local variable naming errors in tests.
src/test/java/io/reactivex/observable/ObservableCovarianceTest.java
@@ -47,7 +47,7 @@ public void testCovarianceOfFrom() { @Test public void testSortedList() { - Comparator<Media> SORT_FUNCTION = new Comparator<Media>() { + Comparator<Media> sortFunction = new Comparator<Media>() { @Override public int compare(Media t1, Media t2) { ...
true
Other
ReactiveX
RxJava
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/main/java/io/reactivex/Observable.java
@@ -26,6 +26,7 @@ import io.reactivex.internal.fuseable.ScalarCallable; import io.reactivex.internal.observers.*; import io.reactivex.internal.operators.flowable.*; +import io.reactivex.internal.operators.mixed.*; import io.reactivex.internal.operators.observable.*; import io.reactivex.internal.util.*; import io....
true
Other
ReactiveX
RxJava
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/main/java/io/reactivex/internal/operators/mixed/FlowableConcatMapSingle.java
@@ -255,10 +255,10 @@ void drain() { consumed = c; } - SingleSource<? extends R> ms; + SingleSource<? extends R> ss; try { - ms = ObjectHelper.requireNonNull(mapper...
true
Other
ReactiveX
RxJava
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/main/java/io/reactivex/internal/operators/mixed/FlowableSwitchMapSingle.java
@@ -115,10 +115,10 @@ public void onNext(T t) { current.dispose(); } - SingleSource<? extends R> ms; + SingleSource<? extends R> ss; try { - ms = ObjectHelper.requireNonNull(mapper.apply(t), "The mapper returned a null SingleSource"); +...
true
Other
ReactiveX
RxJava
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/main/java/io/reactivex/internal/operators/mixed/ObservableConcatMapCompletable.java
@@ -0,0 +1,277 @@ +/** + * 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
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/main/java/io/reactivex/internal/operators/mixed/ObservableConcatMapMaybe.java
@@ -0,0 +1,306 @@ +/** + * 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
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/main/java/io/reactivex/internal/operators/mixed/ObservableConcatMapSingle.java
@@ -0,0 +1,296 @@ +/** + * 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
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/main/java/io/reactivex/internal/operators/mixed/ObservableSwitchMapCompletable.java
@@ -0,0 +1,235 @@ +/** + * 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
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/main/java/io/reactivex/internal/operators/mixed/ObservableSwitchMapMaybe.java
@@ -0,0 +1,288 @@ +/** + * 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
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/main/java/io/reactivex/internal/operators/mixed/ObservableSwitchMapSingle.java
@@ -0,0 +1,277 @@ +/** + * 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
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/main/java/io/reactivex/internal/operators/observable/ObservableConcatMapCompletable.java
@@ -1,244 +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
Other
ReactiveX
RxJava
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/main/java/io/reactivex/internal/operators/observable/ObservableInternalHelper.java
@@ -17,11 +17,8 @@ import io.reactivex.*; import io.reactivex.functions.*; -import io.reactivex.internal.functions.Functions; -import io.reactivex.internal.functions.ObjectHelper; -import io.reactivex.internal.operators.single.SingleToObservable; +import io.reactivex.internal.functions.*; import io.reactivex.obser...
true
Other
ReactiveX
RxJava
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/test/java/io/reactivex/internal/operators/mixed/ObservableConcatMapCompletableTest.java
@@ -0,0 +1,362 @@ +/** + * 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
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/test/java/io/reactivex/internal/operators/mixed/ObservableConcatMapMaybeTest.java
@@ -0,0 +1,349 @@ +/** + * 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
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/test/java/io/reactivex/internal/operators/mixed/ObservableConcatMapSingleTest.java
@@ -0,0 +1,286 @@ +/** + * 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
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/test/java/io/reactivex/internal/operators/mixed/ObservableSwitchMapCompletableTest.java
@@ -0,0 +1,387 @@ +/** + * 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
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/test/java/io/reactivex/internal/operators/mixed/ObservableSwitchMapMaybeTest.java
@@ -0,0 +1,645 @@ +/** + * 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
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/test/java/io/reactivex/internal/operators/mixed/ObservableSwitchMapSingleTest.java
@@ -0,0 +1,613 @@ +/** + * 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
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/test/java/io/reactivex/tck/ConcatMapMaybeTckTest.java
@@ -0,0 +1,37 @@ +/** + * 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
f6f6d82782b145ac4155707400db1b2f38cc221f.json
2.x: Add Observable switchMapX and concatMapX operators (#5875) * 2.x: Add Observable switchMapX and concatMapX operators * Rename local variables to match their datatype better.
src/test/java/io/reactivex/tck/ConcatMapSingleTckTest.java
@@ -0,0 +1,37 @@ +/** + * 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
8068404179b0d2e07da6f0e10ea95110d98e118d.json
2.x: Improve the JavaDoc of the other lift() operators (#5865)
src/main/java/io/reactivex/Completable.java
@@ -1369,15 +1369,132 @@ public final Completable doFinally(Action onFinally) { } /** - * <strong>Advanced use without safeguards:</strong> lifts a CompletableOperator - * transformation into the chain of Completables. + * <strong>This method requires advanced knowledge about building operators,...
true
Other
ReactiveX
RxJava
8068404179b0d2e07da6f0e10ea95110d98e118d.json
2.x: Improve the JavaDoc of the other lift() operators (#5865)
src/main/java/io/reactivex/Flowable.java
@@ -10068,13 +10068,13 @@ public final Single<T> lastOrError() { * Returns a {@code Flowable} which, when subscribed to, invokes the {@link FlowableOperator#apply(Subscriber) apply(Subscriber)} method * of the provided {@link FlowableOperator} for each individual downstream {@link Subscriber} and allows the...
true
Other
ReactiveX
RxJava
8068404179b0d2e07da6f0e10ea95110d98e118d.json
2.x: Improve the JavaDoc of the other lift() operators (#5865)
src/main/java/io/reactivex/Maybe.java
@@ -3110,27 +3110,151 @@ public final Single<Boolean> isEmpty() { } /** - * Lifts a function to the current Maybe and returns a new Maybe that when subscribed to will pass the - * values of the current Maybe through the MaybeOperator function. + * <strong>This method requires advanced knowledge ...
true
Other
ReactiveX
RxJava
8068404179b0d2e07da6f0e10ea95110d98e118d.json
2.x: Improve the JavaDoc of the other lift() operators (#5865)
src/main/java/io/reactivex/Observable.java
@@ -8899,30 +8899,146 @@ public final Single<T> lastOrError() { } /** - * <strong>This method requires advanced knowledge about building operators; please consider + * <strong>This method requires advanced knowledge about building operators, please consider * other standard composition methods...
true
Other
ReactiveX
RxJava
8068404179b0d2e07da6f0e10ea95110d98e118d.json
2.x: Improve the JavaDoc of the other lift() operators (#5865)
src/main/java/io/reactivex/Single.java
@@ -2487,27 +2487,145 @@ public final T blockingGet() { } /** - * Lifts a function to the current Single and returns a new Single that when subscribed to will pass the - * values of the current Single through the Operator function. + * <strong>This method requires advanced knowledge about buildi...
true
Other
ReactiveX
RxJava
5f452559382bab37efd181071c047f260fd26fd1.json
enhance test for groupBy with evicting map factory (#5867)
src/test/java/io/reactivex/internal/operators/flowable/FlowableGroupByTest.java
@@ -1996,7 +1996,7 @@ public V put(K key, V value) { //remove first K k = list.get(0); list.remove(0); - v = map.get(k); + v = map.remove(k); } else { v = null; } @@ -2014,16 +2014,20 @@ public V ...
false
Other
ReactiveX
RxJava
2875fefd28b18c9f54d6b487a976c7bcba7dc98b.json
2.x: Expand the JavaDocs of the Scheduler API (#5843) * 2.x: Expand the JavaDocs of the Scheduler API * Fix typo and grammar.
src/main/java/io/reactivex/Scheduler.java
@@ -27,14 +27,72 @@ /** * A {@code Scheduler} is an object that specifies an API for scheduling - * units of work with or without delays or periodically. - * You can get common instances of this class in {@link io.reactivex.schedulers.Schedulers}. + * units of work provided in the form of {@link Runnable}s to be +...
true
Other
ReactiveX
RxJava
2875fefd28b18c9f54d6b487a976c7bcba7dc98b.json
2.x: Expand the JavaDocs of the Scheduler API (#5843) * 2.x: Expand the JavaDocs of the Scheduler API * Fix typo and grammar.
src/main/java/io/reactivex/schedulers/SchedulerRunnableIntrospection.java
@@ -15,10 +15,15 @@ import io.reactivex.plugins.RxJavaPlugins; /** - * Interface to wrap an action inside internal scheduler's task. - * - * You can check if runnable implements this interface and unwrap original runnable. - * For example inside of the {@link RxJavaPlugins#setScheduleHandler(Function)} + * Interfac...
true
Other
ReactiveX
RxJava
f7a28703bd533ad235114e27e86cc7ac06ee9dfb.json
2.x: Improve JavaDoc of XObserver types. (#5841) * 2.x: Improve JavaDoc of XObserver types. * Use "disposing", add missing space * Add more explanation about throwing exceptions.
src/main/java/io/reactivex/CompletableObserver.java
@@ -17,7 +17,36 @@ import io.reactivex.disposables.Disposable; /** - * Represents the subscription API callbacks when subscribing to a Completable instance. + * Provides a mechanism for receiving push-based notification of a valueless completion or an error. + * <p> + * When a {@code CompletableObserver} is subscri...
true
Other
ReactiveX
RxJava
f7a28703bd533ad235114e27e86cc7ac06ee9dfb.json
2.x: Improve JavaDoc of XObserver types. (#5841) * 2.x: Improve JavaDoc of XObserver types. * Use "disposing", add missing space * Add more explanation about throwing exceptions.
src/main/java/io/reactivex/MaybeObserver.java
@@ -17,14 +17,38 @@ import io.reactivex.disposables.Disposable; /** - * Provides a mechanism for receiving push-based notifications. + * Provides a mechanism for receiving push-based notification of a single value, an error or completion without any value. * <p> - * After a MaybeObserver calls a {@link Maybe}'s {...
true
Other
ReactiveX
RxJava
f7a28703bd533ad235114e27e86cc7ac06ee9dfb.json
2.x: Improve JavaDoc of XObserver types. (#5841) * 2.x: Improve JavaDoc of XObserver types. * Use "disposing", add missing space * Add more explanation about throwing exceptions.
src/main/java/io/reactivex/Observer.java
@@ -19,14 +19,57 @@ /** * Provides a mechanism for receiving push-based notifications. * <p> - * After an Observer calls an {@link Observable}'s {@link Observable#subscribe subscribe} method, - * first the Observable calls {@link #onSubscribe(Disposable)} with a {@link Disposable} that allows - * cancelling the se...
true
Other
ReactiveX
RxJava
f7a28703bd533ad235114e27e86cc7ac06ee9dfb.json
2.x: Improve JavaDoc of XObserver types. (#5841) * 2.x: Improve JavaDoc of XObserver types. * Use "disposing", add missing space * Add more explanation about throwing exceptions.
src/main/java/io/reactivex/SingleObserver.java
@@ -17,14 +17,35 @@ import io.reactivex.disposables.Disposable; /** - * Provides a mechanism for receiving push-based notifications. + * Provides a mechanism for receiving push-based notification of a single value or an error. * <p> - * After a SingleObserver calls a {@link Single}'s {@link Single#subscribe subsc...
true
Other
ReactiveX
RxJava
6aea3f015ae13878adba889d855871e6d1925158.json
Remove apostrophe to correct grammar. (#5793) In this case we want the 3rd person present form of "let", not the contraction "let us".
README.md
@@ -111,7 +111,7 @@ Typically, you can move computations or blocking IO to some other thread via `su RxJava operators don't work with `Thread`s or `ExecutorService`s directly but with so called `Scheduler`s that abstract away sources of concurrency behind an uniform API. RxJava 2 features several standard schedulers...
false
Other
ReactiveX
RxJava
a694145b6775960520dcd3964d9bcf3540fced24.json
2.x: Describe merge() error handling. (#5781)
src/main/java/io/reactivex/Flowable.java
@@ -2965,6 +2965,19 @@ public static <T> Flowable<T> mergeArray(int maxConcurrency, int bufferSize, Pub * backpressure; if violated, the operator <em>may</em> signal {@code MissingBackpressureException}.</dd> * <dt><b>Scheduler:</b></dt> * <dd>{@code merge} does not operate by default on a particul...
false
Other
ReactiveX
RxJava
ba1f40ffcfaed06bd69c1b9a810790cf47178c1f.json
2.x: Fix JavaDoc wording of onTerminateDetach (#5783)
src/main/java/io/reactivex/Flowable.java
@@ -10524,7 +10524,7 @@ public final Flowable<T> onExceptionResumeNext(final Publisher<? extends T> next * <dt><b>Scheduler:</b></dt> * <dd>{@code onTerminateDetach} does not operate by default on a particular {@link Scheduler}.</dd> * </dl> - * @return a Flowable which out references to the ups...
true
Other
ReactiveX
RxJava
ba1f40ffcfaed06bd69c1b9a810790cf47178c1f.json
2.x: Fix JavaDoc wording of onTerminateDetach (#5783)
src/main/java/io/reactivex/Observable.java
@@ -9012,7 +9012,7 @@ public final Observable<T> onExceptionResumeNext(final ObservableSource<? extend * <dt><b>Scheduler:</b></dt> * <dd>{@code onTerminateDetach} does not operate by default on a particular {@link Scheduler}.</dd> * </dl> - * @return an Observable which out references to the up...
true
Other
ReactiveX
RxJava
a1c3ba9c885ac6b069b304f6b18c2bfe37278fdc.json
2.x: Improve BehaviorProcessor JavaDoc (#5778) * 2.x: Improve BehaviorProcessor JavaDoc * Use &gt; in the first example
src/main/java/io/reactivex/processors/BehaviorProcessor.java
@@ -33,6 +33,87 @@ * <p> * <img width="640" height="460" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/S.BehaviorProcessor.png" alt=""> * <p> + * This processor does not have a public constructor by design; a new empty instance of this + * {@code BehaviorSubject} can be created via the {@l...
false
Other
ReactiveX
RxJava
20a72ca2973ebe1ef160baa9d0ebda369c95d438.json
2.x: Improve JavaDoc of retryWhen() operators (#5773) * 2.x: Improve JavaDoc of retryWhen() operators * Fix example to use emitter. * Fix factory class name * Fix example termination logic, proper blockingX()
src/main/java/io/reactivex/Completable.java
@@ -1597,6 +1597,31 @@ public final Completable retry(Predicate<? super Throwable> predicate) { * Returns a Completable which given a Publisher and when this Completable emits an error, delivers * that error through a Flowable and the Publisher should signal a value indicating a retry in response * or...
true
Other
ReactiveX
RxJava
20a72ca2973ebe1ef160baa9d0ebda369c95d438.json
2.x: Improve JavaDoc of retryWhen() operators (#5773) * 2.x: Improve JavaDoc of retryWhen() operators * Fix example to use emitter. * Fix factory class name * Fix example termination logic, proper blockingX()
src/main/java/io/reactivex/Flowable.java
@@ -11770,19 +11770,19 @@ public final Flowable<T> retryUntil(final BooleanSupplier stop) { * resubscribe to the source Publisher. * <p> * <img width="640" height="430" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/retryWhen.f.png" alt=""> - * + * <p> * Example: ...
true
Other
ReactiveX
RxJava
20a72ca2973ebe1ef160baa9d0ebda369c95d438.json
2.x: Improve JavaDoc of retryWhen() operators (#5773) * 2.x: Improve JavaDoc of retryWhen() operators * Fix example to use emitter. * Fix factory class name * Fix example termination logic, proper blockingX()
src/main/java/io/reactivex/Maybe.java
@@ -3585,19 +3585,19 @@ public final Maybe<T> retryUntil(final BooleanSupplier stop) { * resubscribe to the source Publisher. * <p> * <img width="640" height="430" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/retryWhen.f.png" alt=""> - * + * <p> * Example: ...
true
Other
ReactiveX
RxJava
20a72ca2973ebe1ef160baa9d0ebda369c95d438.json
2.x: Improve JavaDoc of retryWhen() operators (#5773) * 2.x: Improve JavaDoc of retryWhen() operators * Fix example to use emitter. * Fix factory class name * Fix example termination logic, proper blockingX()
src/main/java/io/reactivex/Observable.java
@@ -9927,19 +9927,19 @@ public final Observable<T> retryUntil(final BooleanSupplier stop) { * resubscribe to the source ObservableSource. * <p> * <img width="640" height="430" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/retryWhen.f.png" alt=""> - * + * <p> * Exa...
true
Other
ReactiveX
RxJava
20a72ca2973ebe1ef160baa9d0ebda369c95d438.json
2.x: Improve JavaDoc of retryWhen() operators (#5773) * 2.x: Improve JavaDoc of retryWhen() operators * Fix example to use emitter. * Fix factory class name * Fix example termination logic, proper blockingX()
src/main/java/io/reactivex/Single.java
@@ -2692,6 +2692,31 @@ public final Single<T> retry(Predicate<? super Throwable> predicate) { * function signals a value. * <p> * If the Publisher signals an onComplete, the resulting Single will signal a NoSuchElementException. + * <p> + * Note that the inner {@code Publisher} returned by the...
true
Other
ReactiveX
RxJava
b338ffe9f469896187e401caee2e9a9a8fffe28d.json
2.x: add a couple of @see to Completable (#5758) * 2.x: add a couple of @see to Completable * Enable @see in JavadocWording verifier
src/main/java/io/reactivex/Completable.java
@@ -1055,6 +1055,10 @@ public final Completable compose(CompletableTransformer transformer) { * @param other the other Completable, not null * @return the new Completable which subscribes to this and then the other Completable * @throws NullPointerException if other is null + * @see #andThen(Maybe...
true
Other
ReactiveX
RxJava
b338ffe9f469896187e401caee2e9a9a8fffe28d.json
2.x: add a couple of @see to Completable (#5758) * 2.x: add a couple of @see to Completable * Enable @see in JavadocWording verifier
src/test/java/io/reactivex/JavadocWording.java
@@ -14,6 +14,7 @@ package io.reactivex; import java.util.List; +import java.util.regex.Pattern; import static org.junit.Assert.*; import org.junit.Test; @@ -695,8 +696,11 @@ public void completableDocRefersToCompletableTypes() throws Exception { int idx = m.javadoc.indexOf("Flowable", jdx);...
true
Other
ReactiveX
RxJava
ec40a5e6c8f0ab39c334a9073692d24b30b414a9.json
2.x: improve autoConnect() Javadoc + add its marble (#5756)
src/main/java/io/reactivex/flowables/ConnectableFlowable.java
@@ -78,19 +78,45 @@ public Flowable<T> refCount() { } /** - * Returns a Flowable that automatically connects to this ConnectableFlowable + * Returns a Flowable that automatically connects (at most once) to this ConnectableFlowable * when the first Subscriber subscribes. + * <p> + * <im...
true
Other
ReactiveX
RxJava
ec40a5e6c8f0ab39c334a9073692d24b30b414a9.json
2.x: improve autoConnect() Javadoc + add its marble (#5756)
src/main/java/io/reactivex/observables/ConnectableObservable.java
@@ -77,8 +77,20 @@ public Observable<T> refCount() { } /** - * Returns an Observable that automatically connects to this ConnectableObservable + * Returns an Observable that automatically connects (at most once) to this ConnectableObservable * when the first Observer subscribes. + * <p> + ...
true
Other
ReactiveX
RxJava
0bab46d4a974fd0514fc2dc97414d259d1e0689e.json
2.x: Add marbles for Observable (12/06) (#5755)
src/main/java/io/reactivex/Observable.java
@@ -6121,7 +6121,8 @@ public final <R> Observable<R> concatMap(Function<? super T, ? extends Observabl * one at a time and emits their values in order * while delaying any error from either this or any of the inner ObservableSources * till all of them terminate. - * + * <p> + * <img width=...
false
Other
ReactiveX
RxJava
53d5a235f63ca143c11571cd538ad927c0f8f3ad.json
2.x: fix javadoc link in observables/package-info
src/main/java/io/reactivex/observables/package-info.java
@@ -16,7 +16,7 @@ /** * Classes supporting the Observable base reactive class: - * {@link io.reactivex.observable.ConnectableObservable} and - * {@link io.reactivex.observable.GroupedObservable}. + * {@link io.reactivex.observables.ConnectableObservable} and + * {@link io.reactivex.observables.GroupedObservable}. ...
false
Other
ReactiveX
RxJava
85ceeb57683c4c7ba3ad570cf764771e1a585aa3.json
Restore license to correct text. (#5735) This section is a template on how to apply the header and not something that actually should have been changed.
LICENSE
@@ -187,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2012 Netflix, Inc. + Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file excep...
false
Other
ReactiveX
RxJava
da380362afe82b9b77b14952309a156cfda0a152.json
2.x: Javadocs: add period to custom scheduler use sentences (#5717)
src/main/java/io/reactivex/Flowable.java
@@ -2040,7 +2040,7 @@ public static <T> Flowable<T> fromFuture(Future<? extends T> future, long timeou * <dt><b>Backpressure:</b></dt> * <dd>The operator honors backpressure from downstream.</dd> * <dt><b>Scheduler:</b></dt> - * <dd>You specify which {@link Scheduler} this operator will use</d...
true
Other
ReactiveX
RxJava
da380362afe82b9b77b14952309a156cfda0a152.json
2.x: Javadocs: add period to custom scheduler use sentences (#5717)
src/main/java/io/reactivex/Maybe.java
@@ -1347,7 +1347,7 @@ public static Maybe<Long> timer(long delay, TimeUnit unit) { * <img width="640" height="200" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/timer.s.png" alt=""> * <dl> * <dt><b>Scheduler:</b></dt> - * <dd>You specify which {@link Scheduler} this opera...
true
Other
ReactiveX
RxJava
da380362afe82b9b77b14952309a156cfda0a152.json
2.x: Javadocs: add period to custom scheduler use sentences (#5717)
src/main/java/io/reactivex/Observable.java
@@ -1849,7 +1849,7 @@ public static <T> Observable<T> fromFuture(Future<? extends T> future, long time * cancellation effect: {@code futureObservableSource.doOnCancel(() -> future.cancel(true));}. * <dl> * <dt><b>Scheduler:</b></dt> - * <dd>You specify which {@link Scheduler} this operator will ...
true
Other
ReactiveX
RxJava
da380362afe82b9b77b14952309a156cfda0a152.json
2.x: Javadocs: add period to custom scheduler use sentences (#5717)
src/main/java/io/reactivex/Single.java
@@ -554,7 +554,7 @@ public static <T> Single<T> fromFuture(Future<? extends T> future, long timeout, * {@code from} method. * <dl> * <dt><b>Scheduler:</b></dt> - * <dd>You specify which {@link Scheduler} this operator will use</dd> + * <dd>You specify which {@link Scheduler} this operator will...
true
Other
ReactiveX
RxJava
3f9ffae961506ba560a8d43e936a94eb5f563d3c.json
2.x: Improve Javadocs of flatMapSingle and flatMapMaybe (#5709)
src/main/java/io/reactivex/Flowable.java
@@ -8945,8 +8945,8 @@ public final <U, V> Flowable<V> flatMapIterable(final Function<? super T, ? exte } /** - * Maps each element of the upstream Flowable into MaybeSources, subscribes to them and - * waits until the upstream and all MaybeSources complete. + * Maps each element of the upstream ...
true
Other
ReactiveX
RxJava
3f9ffae961506ba560a8d43e936a94eb5f563d3c.json
2.x: Improve Javadocs of flatMapSingle and flatMapMaybe (#5709)
src/main/java/io/reactivex/Observable.java
@@ -7944,8 +7944,8 @@ public final <U, V> Observable<V> flatMapIterable(final Function<? super T, ? ex } /** - * Maps each element of the upstream Observable into MaybeSources, subscribes to them and - * waits until the upstream and all MaybeSources complete. + * Maps each element of the upstrea...
true
Other
ReactiveX
RxJava
aff44822dd2d7b74091d2f351b1cb08ff87b30fd.json
2.x: Add TCK test for limit() (#5683)
src/test/java/io/reactivex/tck/LimitTckTest.java
@@ -0,0 +1,30 @@ +/** + * 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...
false
Other
ReactiveX
RxJava
ddd9b67f7e4848a16c491f495876dfd2f890d499.json
2.x: make parallel() a fusion-async-boundary (#5677)
src/main/java/io/reactivex/internal/operators/parallel/ParallelFromPublisher.java
@@ -116,7 +116,7 @@ public void onSubscribe(Subscription s) { @SuppressWarnings("unchecked") QueueSubscription<T> qs = (QueueSubscription<T>) s; - int m = qs.requestFusion(QueueSubscription.ANY); + int m = qs.requestFusion(QueueSubscripti...
true
Other
ReactiveX
RxJava
ddd9b67f7e4848a16c491f495876dfd2f890d499.json
2.x: make parallel() a fusion-async-boundary (#5677)
src/test/java/io/reactivex/parallel/ParallelFromPublisherTest.java
@@ -14,15 +14,22 @@ package io.reactivex.parallel; import static org.junit.Assert.*; + +import java.util.*; +import java.util.concurrent.*; + import org.junit.Test; -import org.reactivestreams.Subscriber; +import org.reactivestreams.*; -import io.reactivex.Flowable; +import io.reactivex.*; import io.reactivex.e...
true
Other
ReactiveX
RxJava
bffc7f2944749b384426e4fb2c6b9ae087603d76.json
Fix broken license link (#5662)
CONTRIBUTING.md
@@ -6,7 +6,7 @@ When submitting code, please make every effort to follow existing conventions an ## License -By contributing your code, you agree to license your contribution under the terms of the APLv2: https://github.com/ReactiveX/RxJava/blob/master/LICENSE +By contributing your code, you agree to license your ...
false
Other
ReactiveX
RxJava
1b0cd2a40a45ec57e0b6ccf961f084a30c3165c7.json
2.x: inline disposability in Obs.concatMap(Completable) (#5652)
src/main/java/io/reactivex/internal/operators/observable/ObservableConcatMap.java
@@ -13,7 +13,7 @@ package io.reactivex.internal.operators.observable; import java.util.concurrent.Callable; -import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.*; import io.reactivex.*; import io.reactivex.disposables.Disposable; @@ -59,9 +59,8 @@ public void subscribeActual(O...
true
Other
ReactiveX
RxJava
1b0cd2a40a45ec57e0b6ccf961f084a30c3165c7.json
2.x: inline disposability in Obs.concatMap(Completable) (#5652)
src/main/java/io/reactivex/internal/operators/observable/ObservableConcatMapCompletable.java
@@ -12,20 +12,18 @@ */ package io.reactivex.internal.operators.observable; +import java.util.concurrent.atomic.*; + import io.reactivex.*; import io.reactivex.disposables.Disposable; import io.reactivex.exceptions.Exceptions; import io.reactivex.functions.Function; import io.reactivex.internal.disposables.Dis...
true
Other
ReactiveX
RxJava
748fb50f63b9239350d1d02c76667fde61a5f78b.json
2.x: improve package JavaDoc (#5648)
src/main/java/io/reactivex/observers/package-info.java
@@ -15,7 +15,10 @@ */ /** - * Default wrappers and implementations for Observer-based consumer classes and interfaces; - * utility classes for creating them from callbacks. + * Default wrappers and implementations for Observer-based consumer classes and interfaces, + * including disposable and resource-tracking va...
true
Other
ReactiveX
RxJava
748fb50f63b9239350d1d02c76667fde61a5f78b.json
2.x: improve package JavaDoc (#5648)
src/main/java/io/reactivex/package-info.java
@@ -14,7 +14,7 @@ * limitations under the License. */ /** - * Base reactive classes: Flowable, Observable, Single and Completable; base reactive consumers; + * Base reactive classes: Flowable, Observable, Single, Maybe and Completable; base reactive consumers; * other common base interfaces. * * <p>A library...
true
Other
ReactiveX
RxJava
748fb50f63b9239350d1d02c76667fde61a5f78b.json
2.x: improve package JavaDoc (#5648)
src/main/java/io/reactivex/subscribers/package-info.java
@@ -15,7 +15,9 @@ */ /** - * Default wrappers and implementations for Subscriber-based consumer classes and interfaces; - * utility classes for creating them from callbacks. + * Default wrappers and implementations for Subscriber-based consumer classes and interfaces, + * including disposable and resource-tracking...
true
Other
ReactiveX
RxJava
ddc86403de6c12c3bf76c8c25941e2d4700c0a63.json
2.x: fix bintray repo and name config
build.gradle
@@ -336,8 +336,8 @@ if (rootProject.hasProperty("releaseMode")) { publications = ["mavenJava"] publish = true pkg { - repo = "generic" - name = "rxjava" + repo = "RxJava" + name = "RxJava" userOrg = "reactivex" labels = ["rxja...
false
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/Completable.java
@@ -1380,6 +1380,24 @@ public final Completable onErrorResumeNext(final Function<? super Throwable, ? e return RxJavaPlugins.onAssembly(new CompletableResumeNext(this, errorMapper)); } + /** + * Nulls out references to the upstream producer and downstream CompletableObserver if + * the sequen...
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/Maybe.java
@@ -3316,14 +3316,15 @@ public final Maybe<T> onExceptionResumeNext(final MaybeSource<? extends T> next) ObjectHelper.requireNonNull(next, "next is null"); return RxJavaPlugins.onAssembly(new MaybeOnErrorNext<T>(this, Functions.justFunction(next), false)); } + /** * Nulls out reference...
true