File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public class ConnectionFactory implements Cloneable {
8282 * zero means wait indefinitely */
8383 public static final int DEFAULT_SHUTDOWN_TIMEOUT = 10000 ;
8484
85- private static final String PREFERED_TLS_PROTOCOL = "TLSv1.2" ;
85+ private static final String PREFERRED_TLS_PROTOCOL = "TLSv1.2" ;
8686
8787 private static final String FALLBACK_TLS_PROTOCOL = "TLSv1" ;
8888
@@ -594,7 +594,7 @@ public void useSslProtocol(SSLContext context) {
594594 public static String computeDefaultTlsProcotol (String [] supportedProtocols ) {
595595 if (supportedProtocols != null ) {
596596 for (String supportedProtocol : supportedProtocols ) {
597- if (PREFERED_TLS_PROTOCOL .equalsIgnoreCase (supportedProtocol )) {
597+ if (PREFERRED_TLS_PROTOCOL .equalsIgnoreCase (supportedProtocol )) {
598598 return supportedProtocol ;
599599 }
600600 }
You can’t perform that action at this time.
0 commit comments