@@ -41,7 +41,6 @@ private AsyncObservable() {
41
41
throw new IllegalStateException ("No instances!" );
42
42
}
43
43
44
-
45
44
/**
46
45
* Invokes the specified function asynchronously and returns an Observable that emits the result.
47
46
* <p>
@@ -1472,7 +1471,6 @@ public static <T> Future<Object> forEachFuture(
1472
1471
return forEachFuture (source , onNext , Functions .emptyConsumer (), Functions .EMPTY_ACTION , Schedulers .computation ());
1473
1472
}
1474
1473
1475
-
1476
1474
/**
1477
1475
* Subscribes to the given source and calls the callback for each emitted item, and surfaces the completion
1478
1476
* or error through a Future.
@@ -1501,7 +1499,6 @@ public static <T> Future<Object> forEachFuture(
1501
1499
return forEachFuture (source , onNext , onError , Functions .EMPTY_ACTION , Schedulers .computation ());
1502
1500
}
1503
1501
1504
-
1505
1502
/**
1506
1503
* Subscribes to the given source and calls the callback for each emitted item, and surfaces the completion
1507
1504
* or error through a Future.
@@ -1532,7 +1529,6 @@ public static <T> Future<Object> forEachFuture(
1532
1529
return forEachFuture (source , onNext , onError , onComplete , Schedulers .computation ());
1533
1530
}
1534
1531
1535
-
1536
1532
/**
1537
1533
* Subscribes to the given source and calls the callback for each emitted item, and surfaces the completion
1538
1534
* or error through a Future, scheduled on the given scheduler.
@@ -1557,7 +1553,6 @@ public static <T> Future<Object> forEachFuture(
1557
1553
return forEachFuture (source , onNext , Functions .emptyConsumer (), Functions .EMPTY_ACTION , scheduler );
1558
1554
}
1559
1555
1560
-
1561
1556
/**
1562
1557
* Subscribes to the given source and calls the callback for each emitted item, and surfaces the completion
1563
1558
* or error through a Future, scheduled on the given Scheduler.
@@ -1584,7 +1579,6 @@ public static <T> Future<Object> forEachFuture(
1584
1579
return forEachFuture (source , onNext , onError , Functions .EMPTY_ACTION , scheduler );
1585
1580
}
1586
1581
1587
-
1588
1582
/**
1589
1583
* Subscribes to the given source and calls the callback for each emitted item, and surfaces the completion
1590
1584
* or error through a Future, scheduled on the given Scheduler.
@@ -1641,7 +1635,7 @@ public void run() throws Exception {
1641
1635
}
1642
1636
}, new Consumer <Disposable >() {
1643
1637
@ Override
1644
- public void accept (Disposable s ) throws Exception {
1638
+ public void accept (Disposable d ) throws Exception {
1645
1639
}
1646
1640
});
1647
1641
d .lazySet (ls );
@@ -1710,8 +1704,8 @@ public void run() {
1710
1704
1711
1705
return new DisposableObservable <T >() {
1712
1706
@ Override
1713
- protected void subscribeActual (Observer <? super T > s ) {
1714
- subject .subscribe (s );
1707
+ protected void subscribeActual (Observer <? super T > observer ) {
1708
+ subject .subscribe (observer );
1715
1709
}
1716
1710
1717
1711
@ Override
0 commit comments