зеркало из https://github.com/github/vitess-gh.git
fix violations
Signed-off-by: Ze'ev Klapow <zklapow@hubspot.com>
This commit is contained in:
Родитель
7b51e94763
Коммит
b4bf8070ad
|
@ -129,7 +129,7 @@ public class GrpcClient implements RpcClient {
|
|||
// Now we try hard shutdown
|
||||
channel.shutdownNow();
|
||||
}
|
||||
} catch (InterruptedException e) {
|
||||
} catch (InterruptedException exc) {
|
||||
Thread.currentThread().interrupt();
|
||||
}
|
||||
|
||||
|
|
|
@ -98,7 +98,8 @@ public class GrpcClientFactory implements RpcClientFactory {
|
|||
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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче