File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/rabbitmq/client 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 {
82
82
* zero means wait indefinitely */
83
83
public static final int DEFAULT_SHUTDOWN_TIMEOUT = 10000 ;
84
84
85
- private static final String PREFERED_TLS_PROTOCOL = "TLSv1.2" ;
85
+ private static final String PREFERRED_TLS_PROTOCOL = "TLSv1.2" ;
86
86
87
87
private static final String FALLBACK_TLS_PROTOCOL = "TLSv1" ;
88
88
@@ -594,7 +594,7 @@ public void useSslProtocol(SSLContext context) {
594
594
public static String computeDefaultTlsProcotol (String [] supportedProtocols ) {
595
595
if (supportedProtocols != null ) {
596
596
for (String supportedProtocol : supportedProtocols ) {
597
- if (PREFERED_TLS_PROTOCOL .equalsIgnoreCase (supportedProtocol )) {
597
+ if (PREFERRED_TLS_PROTOCOL .equalsIgnoreCase (supportedProtocol )) {
598
598
return supportedProtocol ;
599
599
}
600
600
}
You can’t perform that action at this time.
0 commit comments