Skip to content

Commit 2c3ec38

Browse files
authored
2.x: move DisposableObserver to public area, add some javadocs (#4337)
1 parent 125cf73 commit 2c3ec38

13 files changed

+38
-17
lines changed

src/main/java/io/reactivex/internal/operators/observable/BlockingObservableLatest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import io.reactivex.Observable;
2222
import io.reactivex.Optional;
2323
import io.reactivex.exceptions.Exceptions;
24-
import io.reactivex.internal.subscribers.observable.DisposableObserver;
24+
import io.reactivex.observers.DisposableObserver;
2525

2626
/**
2727
* Wait for and iterate over the latest values of the source observable. If the source works faster than the

src/main/java/io/reactivex/internal/operators/observable/BlockingObservableNext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import io.reactivex.Optional;
2222
import io.reactivex.Try;
2323
import io.reactivex.exceptions.Exceptions;
24-
import io.reactivex.internal.subscribers.observable.DisposableObserver;
24+
import io.reactivex.observers.DisposableObserver;
2525

2626
/**
2727
* Returns an Iterable that blocks until the Observable emits another item, then returns that item.

src/main/java/io/reactivex/internal/operators/observable/ObservableBufferBoundary.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import io.reactivex.internal.queue.MpscLinkedQueue;
2727
import io.reactivex.internal.subscribers.observable.*;
2828
import io.reactivex.internal.util.QueueDrainHelper;
29-
import io.reactivex.observers.SerializedObserver;
29+
import io.reactivex.observers.*;
3030
import io.reactivex.plugins.RxJavaPlugins;
3131

3232
public final class ObservableBufferBoundary<T, U extends Collection<? super T>, Open, Close>

src/main/java/io/reactivex/internal/operators/observable/ObservableBufferBoundarySupplier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import io.reactivex.internal.queue.MpscLinkedQueue;
2424
import io.reactivex.internal.subscribers.observable.*;
2525
import io.reactivex.internal.util.QueueDrainHelper;
26-
import io.reactivex.observers.SerializedObserver;
26+
import io.reactivex.observers.*;
2727
import io.reactivex.plugins.RxJavaPlugins;
2828

2929
public final class ObservableBufferBoundarySupplier<T, U extends Collection<? super T>, B>

src/main/java/io/reactivex/internal/operators/observable/ObservableBufferExactBoundary.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import io.reactivex.internal.queue.MpscLinkedQueue;
2323
import io.reactivex.internal.subscribers.observable.*;
2424
import io.reactivex.internal.util.QueueDrainHelper;
25-
import io.reactivex.observers.SerializedObserver;
25+
import io.reactivex.observers.*;
2626

2727
public final class ObservableBufferExactBoundary<T, U extends Collection<? super T>, B>
2828
extends AbstractObservableWithUpstream<T, U> {

src/main/java/io/reactivex/internal/operators/observable/ObservableDebounce.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
import io.reactivex.disposables.Disposable;
2020
import io.reactivex.functions.Function;
2121
import io.reactivex.internal.disposables.DisposableHelper;
22-
import io.reactivex.internal.subscribers.observable.DisposableObserver;
23-
import io.reactivex.observers.SerializedObserver;
22+
import io.reactivex.observers.*;
2423
import io.reactivex.plugins.RxJavaPlugins;
2524

2625
public final class ObservableDebounce<T, U> extends AbstractObservableWithUpstream<T, T> {

src/main/java/io/reactivex/internal/operators/observable/ObservableTimeout.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import io.reactivex.functions.Function;
2222
import io.reactivex.internal.disposables.*;
2323
import io.reactivex.internal.subscribers.observable.*;
24-
import io.reactivex.observers.SerializedObserver;
24+
import io.reactivex.observers.*;
2525
import io.reactivex.plugins.RxJavaPlugins;
2626

2727
public final class ObservableTimeout<T, U, V> extends AbstractObservableWithUpstream<T, T> {

src/main/java/io/reactivex/internal/operators/observable/ObservableWindowBoundary.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import io.reactivex.internal.queue.MpscLinkedQueue;
2424
import io.reactivex.internal.subscribers.observable.*;
2525
import io.reactivex.internal.util.NotificationLite;
26-
import io.reactivex.observers.SerializedObserver;
26+
import io.reactivex.observers.*;
2727
import io.reactivex.plugins.RxJavaPlugins;
2828
import io.reactivex.subjects.UnicastSubject;
2929

src/main/java/io/reactivex/internal/operators/observable/ObservableWindowBoundarySelector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import io.reactivex.internal.queue.MpscLinkedQueue;
2828
import io.reactivex.internal.subscribers.observable.*;
2929
import io.reactivex.internal.util.NotificationLite;
30-
import io.reactivex.observers.SerializedObserver;
30+
import io.reactivex.observers.*;
3131
import io.reactivex.plugins.RxJavaPlugins;
3232
import io.reactivex.subjects.UnicastSubject;
3333

src/main/java/io/reactivex/internal/operators/observable/ObservableWindowBoundarySupplier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import io.reactivex.internal.queue.MpscLinkedQueue;
2424
import io.reactivex.internal.subscribers.observable.*;
2525
import io.reactivex.internal.util.NotificationLite;
26-
import io.reactivex.observers.SerializedObserver;
26+
import io.reactivex.observers.*;
2727
import io.reactivex.plugins.RxJavaPlugins;
2828
import io.reactivex.subjects.UnicastSubject;
2929

0 commit comments

Comments
 (0)