Skip to content

Commit 78a0a1b

Browse files
author
jmhofer
committed
added an unnecessary explicit cast because the Jenkins java compiler is unhappy otherwise?
1 parent 29289d1 commit 78a0a1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rxjava-core/src/main/java/rx/operators/OperationToObservableFuture.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public ToObservableFuture(Future<? extends T> that, long time, TimeUnit unit) {
5959
@Override
6060
public Subscription call(Observer<? super T> observer) {
6161
try {
62-
T value = (time == null) ? that.get() : that.get(time, unit);
62+
T value = (time == null) ? (T) that.get() : (T) that.get(time, unit);
6363

6464
if (!that.isCancelled()) {
6565
observer.onNext(value);

0 commit comments

Comments
 (0)