Skip to content

Commit 9711c45

Browse files
committed
fix: revert changes in HttpJsonClientCalls
1 parent d9c86e7 commit 9711c45

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sdk-platform-java/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonClientCalls.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,8 @@ public static <RequestT, ResponseT> HttpJsonClientCall<RequestT, ResponseT> newC
7676
// if the Universe Domain is valid.
7777
httpJsonContext.validateUniverseDomain();
7878

79-
HttpJsonCallOptions callOptions = httpJsonContext.getCallOptions();
80-
8179
// TODO: add headers interceptor logic
82-
return httpJsonContext.getChannel().newCall(methodDescriptor, callOptions);
80+
return httpJsonContext.getChannel().newCall(methodDescriptor, httpJsonContext.getCallOptions());
8381
}
8482

8583
static <RequestT, ResponseT> ApiFuture<ResponseT> futureUnaryCall(

0 commit comments

Comments
 (0)