@@ -307,7 +307,7 @@ public void setVirtualHost(String virtualHost) {
307
307
/**
308
308
* Convenience method for setting the fields in an AMQP URI: host,
309
309
* port, username, password and virtual host. If any part of the
310
- * URI is ommited , the ConnectionFactory's corresponding variable
310
+ * URI is omitted , the ConnectionFactory's corresponding variable
311
311
* is left unchanged.
312
312
* @param uri is the AMQP URI containing the data
313
313
*/
@@ -366,7 +366,7 @@ public void setUri(URI uri)
366
366
/**
367
367
* Convenience method for setting the fields in an AMQP URI: host,
368
368
* port, username, password and virtual host. If any part of the
369
- * URI is ommited , the ConnectionFactory's corresponding variable
369
+ * URI is omitted , the ConnectionFactory's corresponding variable
370
370
* is left unchanged. Note that not all valid AMQP URIs are
371
371
* accepted; in particular, the hostname must be given if the
372
372
* port, username or password are given, and escapes in the
@@ -674,7 +674,7 @@ public boolean isSSL(){
674
674
public void useSslProtocol ()
675
675
throws NoSuchAlgorithmException , KeyManagementException
676
676
{
677
- useSslProtocol (computeDefaultTlsProcotol (SSLContext .getDefault ().getSupportedSSLParameters ().getProtocols ()));
677
+ useSslProtocol (computeDefaultTlsProtocol (SSLContext .getDefault ().getSupportedSSLParameters ().getProtocols ()));
678
678
}
679
679
680
680
/**
@@ -777,7 +777,7 @@ protected void enableHostnameVerificationForBlockingIo() {
777
777
}
778
778
}
779
779
780
- public static String computeDefaultTlsProcotol (String [] supportedProtocols ) {
780
+ public static String computeDefaultTlsProtocol (String [] supportedProtocols ) {
781
781
if (supportedProtocols != null ) {
782
782
for (String supportedProtocol : supportedProtocols ) {
783
783
if (PREFERRED_TLS_PROTOCOL .equalsIgnoreCase (supportedProtocol )) {
0 commit comments