Skip to content

Commit c5b9b61

Browse files
wlu2016lesv
authored andcommitted
fix typo: logger -> LOGGER (#423)
add gradle-wrapper.jar required for gradlew build
1 parent 15cd740 commit c5b9b61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

endpoints/bookstore-grpc/client/src/main/java/com/google/endpoints/examples/bookstore/BookstoreClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,14 @@ public Interceptor(String apiKey, String authToken) {
156156
@Override
157157
public <ReqT, RespT> ClientCall<ReqT, RespT> interceptCall(
158158
MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, Channel next) {
159-
logger.info("Intercepted " + method.getFullMethodName());
159+
LOGGER.info("Intercepted " + method.getFullMethodName());
160160
ClientCall<ReqT, RespT> call = next.newCall(method, callOptions);
161161

162162
call = new ForwardingClientCall.SimpleForwardingClientCall<ReqT, RespT>(call) {
163163
@Override
164164
public void start(Listener<RespT> responseListener, Metadata headers) {
165165
if (apiKey != null && !apiKey.isEmpty()) {
166-
logger.info("Attaching API Key: " + apiKey);
166+
LOGGER.info("Attaching API Key: " + apiKey);
167167
headers.put(API_KEY_HEADER, apiKey);
168168
}
169169
if (authToken != null && !authToken.isEmpty()) {
Binary file not shown.

0 commit comments

Comments
 (0)