mirror of https://github.com/grpc/grpc-java.git
Use class name, not instance, for invoking static method
This commit is contained in:
parent
10578e31c0
commit
cb15779e59
|
|
@ -147,7 +147,7 @@ public class OkHttpProtocolNegotiator {
|
|||
|
||||
// Enable ALPN.
|
||||
if (SET_ALPN_PROTOCOLS.isSupported(sslSocket)) {
|
||||
Object[] parameters = {PLATFORM.concatLengthPrefixed(protocols)};
|
||||
Object[] parameters = {Platform.concatLengthPrefixed(protocols)};
|
||||
SET_ALPN_PROTOCOLS.invokeWithoutCheckedException(sslSocket, parameters);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue