Skip to content

Commit

Permalink
fix typo: logger -> LOGGER (#423)
Browse files Browse the repository at this point in the history
add gradle-wrapper.jar required for gradlew build
  • Loading branch information
wlu2016 authored and lesv committed Nov 18, 2016
1 parent 15cd740 commit c5b9b61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,14 @@ public Interceptor(String apiKey, String authToken) {
@Override
public <ReqT, RespT> ClientCall<ReqT, RespT> interceptCall(
MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, Channel next) {
logger.info("Intercepted " + method.getFullMethodName());
LOGGER.info("Intercepted " + method.getFullMethodName());
ClientCall<ReqT, RespT> call = next.newCall(method, callOptions);

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

0 comments on commit c5b9b61

Please sign in to comment.