Skip to content

Commit

Permalink
fix violations
Browse files Browse the repository at this point in the history
Signed-off-by: Ze'ev Klapow <[email protected]>
  • Loading branch information
zklapow committed Feb 12, 2019
1 parent 7b51e94 commit b4bf807
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public void close() throws IOException {
// Now we try hard shutdown
channel.shutdownNow();
}
} catch (InterruptedException e) {
} catch (InterruptedException exc) {
Thread.currentThread().interrupt();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ public RpcClient create(Context ctx, String target) {
channel.nameResolverFactory(nameResolverFactory);
}
return callCredentials != null
? new GrpcClient(channel.build(), callCredentials, ctx) : new GrpcClient(channel.build(), ctx);
? new GrpcClient(channel.build(), callCredentials, ctx)
: new GrpcClient(channel.build(), ctx);
}

/**
Expand Down

0 comments on commit b4bf807

Please sign in to comment.