We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a593af commit 0794d9fCopy full SHA for 0794d9f
src/main/java/rx/internal/operators/OperatorTakeUntil.java
@@ -36,24 +36,7 @@ public OperatorTakeUntil(final Observable<? extends E> other) {
36
37
@Override
38
public Subscriber<? super T> call(final Subscriber<? super T> child) {
39
- final Subscriber<T> parent = new SerializedSubscriber<T>(child) {
40
-
41
- @Override
42
- public void onCompleted() {
43
- child.onCompleted();
44
- }
45
46
47
- public void onError(Throwable e) {
48
- child.onError(e);
49
50
51
52
- public void onNext(T t) {
53
- child.onNext(t);
54
55
56
- };
+ final Subscriber<T> parent = new SerializedSubscriber<T>(child);
57
58
other.unsafeSubscribe(new Subscriber<E>(child) {
59
0 commit comments