Remove unused variables

This commit is contained in:
Eric Anderson 2015-07-01 13:54:00 -07:00
parent cb15779e59
commit 30455fd2f4
2 changed files with 0 additions and 2 deletions

View File

@ -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);

View File

@ -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)