Use class name, not instance, for invoking static method

This commit is contained in:
Eric Anderson 2015-07-01 13:49:50 -07:00
parent 10578e31c0
commit cb15779e59
1 changed files with 1 additions and 1 deletions

View File

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