File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,8 @@ class NettyClientTransport implements ConnectionClientTransport {
112112 private final ChannelLogger channelLogger ;
113113 private final boolean useGetForSafeMethods ;
114114 private final Ticker ticker ;
115- private final ConcurrentHashMap <String , Boolean > authoritiesAllowedForPeer = new ConcurrentHashMap <>();
115+ private final ConcurrentHashMap <String , Boolean > authoritiesAllowedForPeer =
116+ new ConcurrentHashMap <>();
116117
117118 NettyClientTransport (
118119 SocketAddress address ,
Original file line number Diff line number Diff line change 4545import io .grpc .internal .GrpcAttributes ;
4646import io .grpc .internal .GrpcUtil ;
4747import io .grpc .internal .ObjectPool ;
48- import io .grpc .util .CertificateUtils ;
4948import io .netty .channel .ChannelDuplexHandler ;
5049import io .netty .channel .ChannelFutureListener ;
5150import io .netty .channel .ChannelHandler ;
6968import io .netty .handler .ssl .SslProvider ;
7069import io .netty .util .AsciiString ;
7170import java .io .ByteArrayInputStream ;
72- import java .io .IOException ;
73- import java .io .InputStream ;
7471import java .net .SocketAddress ;
7572import java .net .URI ;
7673import java .nio .ByteBuffer ;
10097import javax .net .ssl .TrustManager ;
10198import javax .net .ssl .TrustManagerFactory ;
10299import javax .net .ssl .X509ExtendedTrustManager ;
103- import javax .security .auth .x500 .X500Principal ;
104100
105101/**
106102 * Common {@link ProtocolNegotiator}s used by gRPC.
Original file line number Diff line number Diff line change @@ -1288,7 +1288,7 @@ public void transportReady() {
12881288 public void transportInUse (boolean inUse ) {}
12891289 }
12901290
1291- private class FakeTrustManager implements X509TrustManager {
1291+ private static class FakeTrustManager implements X509TrustManager {
12921292
12931293 private final X509TrustManager delegate ;
12941294
You can’t perform that action at this time.
0 commit comments