You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2017/12/21 15:25:06 UTC
svn commit: r1818936 -
/jmeter/trunk/src/core/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.java
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()));