Skip to content

Commit 3ee35e8

Browse files
Merge pull request #149 from acogoluegnes/fix-typo-issue-139
Fix typo in constant name
2 parents 70125ed + 73acb41 commit 3ee35e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/rabbitmq/client/ConnectionFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)