mirror of https://github.com/grpc/grpc-java.git
Remove unused variables
This commit is contained in:
parent
cb15779e59
commit
30455fd2f4
|
@ -215,7 +215,6 @@ public class ChannelImplTest {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}).when(mockTransport2).start(any(ClientTransport.Listener.class));
|
}).when(mockTransport2).start(any(ClientTransport.Listener.class));
|
||||||
Exception ex = new IllegalStateException("Transport shutdown");
|
|
||||||
when(mockTransport2.newStream(same(method), same(headers2), any(ClientStreamListener.class)))
|
when(mockTransport2.newStream(same(method), same(headers2), any(ClientStreamListener.class)))
|
||||||
.thenReturn(mockStream2);
|
.thenReturn(mockStream2);
|
||||||
call.start(mockCallListener2, headers2);
|
call.start(mockCallListener2, headers2);
|
||||||
|
|
|
@ -118,7 +118,6 @@ public class OkHttpProtocolNegotiator {
|
||||||
// byte[] getNpnSelectedProtocol()
|
// byte[] getNpnSelectedProtocol()
|
||||||
private static final OptionalMethod<Socket> GET_NPN_SELECTED_PROTOCOL =
|
private static final OptionalMethod<Socket> GET_NPN_SELECTED_PROTOCOL =
|
||||||
new OptionalMethod<Socket>(byte[].class, "getNpnSelectedProtocol");
|
new OptionalMethod<Socket>(byte[].class, "getNpnSelectedProtocol");
|
||||||
private static boolean android;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String negotiate(SSLSocket sslSocket, String hostname, List<Protocol> protocols)
|
public String negotiate(SSLSocket sslSocket, String hostname, List<Protocol> protocols)
|
||||||
|
|
Loading…
Reference in New Issue