@@ -14686,8 +14686,7 @@ public final Flowable<T> startWithArray(T... items) {
14686
14686
@BackpressureSupport(BackpressureKind.UNBOUNDED_IN)
14687
14687
@SchedulerSupport(SchedulerSupport.NONE)
14688
14688
public final Disposable subscribe() {
14689
- return subscribe(Functions.emptyConsumer(), Functions.ON_ERROR_MISSING,
14690
- Functions.EMPTY_ACTION, FlowableInternalHelper.RequestMax.INSTANCE);
14689
+ return subscribe(Functions.emptyConsumer(), Functions.ON_ERROR_MISSING, Functions.EMPTY_ACTION);
14691
14690
}
14692
14691
14693
14692
/**
@@ -14716,8 +14715,7 @@ public final Disposable subscribe() {
14716
14715
@BackpressureSupport(BackpressureKind.UNBOUNDED_IN)
14717
14716
@SchedulerSupport(SchedulerSupport.NONE)
14718
14717
public final Disposable subscribe(Consumer<? super T> onNext) {
14719
- return subscribe(onNext, Functions.ON_ERROR_MISSING,
14720
- Functions.EMPTY_ACTION, FlowableInternalHelper.RequestMax.INSTANCE);
14718
+ return subscribe(onNext, Functions.ON_ERROR_MISSING, Functions.EMPTY_ACTION);
14721
14719
}
14722
14720
14723
14721
/**
@@ -14747,7 +14745,7 @@ public final Disposable subscribe(Consumer<? super T> onNext) {
14747
14745
@BackpressureSupport(BackpressureKind.UNBOUNDED_IN)
14748
14746
@SchedulerSupport(SchedulerSupport.NONE)
14749
14747
public final Disposable subscribe(Consumer<? super T> onNext, Consumer<? super Throwable> onError) {
14750
- return subscribe(onNext, onError, Functions.EMPTY_ACTION, FlowableInternalHelper.RequestMax.INSTANCE );
14748
+ return subscribe(onNext, onError, Functions.EMPTY_ACTION);
14751
14749
}
14752
14750
14753
14751
/**
@@ -14782,51 +14780,11 @@ public final Disposable subscribe(Consumer<? super T> onNext, Consumer<? super T
14782
14780
@SchedulerSupport(SchedulerSupport.NONE)
14783
14781
public final Disposable subscribe(Consumer<? super T> onNext, Consumer<? super Throwable> onError,
14784
14782
Action onComplete) {
14785
- return subscribe(onNext, onError, onComplete, FlowableInternalHelper.RequestMax.INSTANCE);
14786
- }
14787
-
14788
- /**
14789
- * Subscribes to a Publisher and provides callbacks to handle the items it emits and any error or
14790
- * completion notification it issues.
14791
- * <dl>
14792
- * <dt><b>Backpressure:</b></dt>
14793
- * <dd>The operator consumes the source {@code Publisher} in an unbounded manner (i.e., no
14794
- * backpressure is applied to it).</dd>
14795
- * <dt><b>Scheduler:</b></dt>
14796
- * <dd>{@code subscribe} does not operate by default on a particular {@link Scheduler}.</dd>
14797
- * </dl>
14798
- *
14799
- * @param onNext
14800
- * the {@code Consumer<T>} you have designed to accept emissions from the Publisher
14801
- * @param onError
14802
- * the {@code Consumer<Throwable>} you have designed to accept any error notification from the
14803
- * Publisher
14804
- * @param onComplete
14805
- * the {@code Action} you have designed to accept a completion notification from the
14806
- * Publisher
14807
- * @param onSubscribe
14808
- * the {@code Consumer} that receives the upstream's Subscription
14809
- * @return a {@link Disposable} reference with which the caller can stop receiving items before
14810
- * the Publisher has finished sending them
14811
- * @throws NullPointerException
14812
- * if {@code onNext} is null, or
14813
- * if {@code onError} is null, or
14814
- * if {@code onComplete} is null, or
14815
- * if {@code onSubscribe} is null
14816
- * @see <a href="http://reactivex.io/documentation/operators/subscribe.html">ReactiveX operators documentation: Subscribe</a>
14817
- */
14818
- @CheckReturnValue
14819
- @NonNull
14820
- @BackpressureSupport(BackpressureKind.SPECIAL)
14821
- @SchedulerSupport(SchedulerSupport.NONE)
14822
- public final Disposable subscribe(Consumer<? super T> onNext, Consumer<? super Throwable> onError,
14823
- Action onComplete, Consumer<? super Subscription> onSubscribe) {
14824
14783
ObjectHelper.requireNonNull(onNext, "onNext is null");
14825
14784
ObjectHelper.requireNonNull(onError, "onError is null");
14826
14785
ObjectHelper.requireNonNull(onComplete, "onComplete is null");
14827
- ObjectHelper.requireNonNull(onSubscribe, "onSubscribe is null");
14828
14786
14829
- LambdaSubscriber<T> ls = new LambdaSubscriber<T>(onNext, onError, onComplete, onSubscribe );
14787
+ LambdaSubscriber<T> ls = new LambdaSubscriber<T>(onNext, onError, onComplete, FlowableInternalHelper.RequestMax.INSTANCE );
14830
14788
14831
14789
subscribe(ls);
14832
14790
0 commit comments