@@ -287,7 +287,7 @@ public Subscription subscribe(final Action1<? super T> onNext, Scheduler schedul
287
287
return subscribeOn (scheduler ).subscribe (onNext );
288
288
}
289
289
290
- public Subscription subscribe (final Action1 <? super T > onNext , final Action1 <? super Throwable > onError ) {
290
+ public Subscription subscribe (final Action1 <? super T > onNext , final Action1 <Throwable > onError ) {
291
291
if (onNext == null ) {
292
292
throw new IllegalArgumentException ("onNext can not be null" );
293
293
}
@@ -321,11 +321,11 @@ public void onNext(T args) {
321
321
});
322
322
}
323
323
324
- public Subscription subscribe (final Action1 <? super T > onNext , final Action1 <? super Throwable > onError , Scheduler scheduler ) {
324
+ public Subscription subscribe (final Action1 <? super T > onNext , final Action1 <Throwable > onError , Scheduler scheduler ) {
325
325
return subscribeOn (scheduler ).subscribe (onNext , onError );
326
326
}
327
327
328
- public Subscription subscribe (final Action1 <? super T > onNext , final Action1 <? super Throwable > onError , final Action0 onComplete ) {
328
+ public Subscription subscribe (final Action1 <? super T > onNext , final Action1 <Throwable > onError , final Action0 onComplete ) {
329
329
if (onNext == null ) {
330
330
throw new IllegalArgumentException ("onNext can not be null" );
331
331
}
@@ -362,7 +362,7 @@ public void onNext(T args) {
362
362
});
363
363
}
364
364
365
- public Subscription subscribe (final Action1 <? super T > onNext , final Action1 <? super Throwable > onError , final Action0 onComplete , Scheduler scheduler ) {
365
+ public Subscription subscribe (final Action1 <? super T > onNext , final Action1 <Throwable > onError , final Action0 onComplete , Scheduler scheduler ) {
366
366
return subscribeOn (scheduler ).subscribe (onNext , onError , onComplete );
367
367
}
368
368
@@ -1730,7 +1730,7 @@ public <T2> Observable<T2> dematerialize() {
1730
1730
* encounters an error
1731
1731
* @return the original Observable, with appropriately modified behavior
1732
1732
*/
1733
- public Observable <T > onErrorResumeNext (final Func1 <? super Throwable , ? extends Observable <? extends T >> resumeFunction ) {
1733
+ public Observable <T > onErrorResumeNext (final Func1 <Throwable , ? extends Observable <? extends T >> resumeFunction ) {
1734
1734
return create (OperationOnErrorResumeNextViaFunction .onErrorResumeNextViaFunction (this , resumeFunction ));
1735
1735
}
1736
1736
@@ -1815,7 +1815,7 @@ public Observable<T> onExceptionResumeNext(final Observable<? extends T> resumeS
1815
1815
* Observable encounters an error
1816
1816
* @return the original Observable with appropriately modified behavior
1817
1817
*/
1818
- public Observable <T > onErrorReturn (Func1 <? super Throwable , ? extends T > resumeFunction ) {
1818
+ public Observable <T > onErrorReturn (Func1 <Throwable , ? extends T > resumeFunction ) {
1819
1819
return create (OperationOnErrorReturn .onErrorReturn (this , resumeFunction ));
1820
1820
}
1821
1821
0 commit comments