jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1818936 - /jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java
Date Thu, 21 Dec 2017 15:25:06 GMT
Author: pmouawad
Date: Thu Dec 21 15:25:06 2017
New Revision: 1818936

URL: http://svn.apache.org/viewvc?rev=1818936&view=rev
Log:
Fix SONAR bugs

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java?rev=1818936&r1=1818935&r2=1818936&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java Thu Dec
21 15:25:06 2017
@@ -79,7 +79,7 @@ public class HttpSSLProtocolSocketFactor
         if (!PROTOCOL_LIST.isEmpty()) {
             try {
                 sock.setEnabledProtocols(protocols);
-            } catch (IllegalArgumentException e) {
+            } catch (IllegalArgumentException e) { // NOSONAR
                 if (log.isWarnEnabled()) {
                     log.warn("Could not set protocol list: {}.", PROTOCOL_LIST);
                     log.warn("Valid protocols are: {}", join(sock.getSupportedProtocols()));
@@ -90,7 +90,7 @@ public class HttpSSLProtocolSocketFactor
         if (!CIPHER_LIST.isEmpty()) {
             try {
                 sock.setEnabledCipherSuites(ciphers);
-            } catch (IllegalArgumentException e) {
+            } catch (IllegalArgumentException e) { // NOSONAR
                 if (log.isWarnEnabled()) {
                     log.warn("Could not set cipher list: {}.", CIPHER_LIST);
                     log.warn("Valid ciphers are: {}", join(sock.getSupportedCipherSuites()));



Mime
View raw message