Skip to content

Commit cb15779

Browse files
committed
Use class name, not instance, for invoking static method
1 parent 10578e3 commit cb15779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

okhttp/src/main/java/com/squareup/okhttp/internal/OkHttpProtocolNegotiator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ protected void configureTlsExtensions(
147147

148148
// Enable ALPN.
149149
if (SET_ALPN_PROTOCOLS.isSupported(sslSocket)) {
150-
Object[] parameters = {PLATFORM.concatLengthPrefixed(protocols)};
150+
Object[] parameters = {Platform.concatLengthPrefixed(protocols)};
151151
SET_ALPN_PROTOCOLS.invokeWithoutCheckedException(sslSocket, parameters);
152152
}
153153
}

0 commit comments

Comments
 (0)