Skip to content

Commit bd24e0a

Browse files
authored
Using the executor in ApiFutures.catching (#73)
An executor is passed in, but never used.
1 parent e9e4f02 commit bd24e0a

File tree

1 file changed

+1
-1
lines changed
  • sdk-platform-java/api-common-java/src/main/java/com/google/api/core

1 file changed

+1
-1
lines changed

sdk-platform-java/api-common-java/src/main/java/com/google/api/core/ApiFutures.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static <V, X extends Throwable> ApiFuture<V> catching(
100100
listenableFutureForApiFuture(input),
101101
exceptionType,
102102
new GaxFunctionToGuavaFunction<X, V>(callback),
103-
directExecutor());
103+
executor);
104104
return new ListenableFutureToApiFuture<V>(catchingFuture);
105105
}
106106

0 commit comments

Comments
 (0)