jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1784331 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/hc/JMeterPoolingClientConnectionManager.java
Date Fri, 24 Feb 2017 21:07:05 GMT
Author: pmouawad
Date: Fri Feb 24 21:07:05 2017
New Revision: 1784331

URL: http://svn.apache.org/viewvc?rev=1784331&view=rev
Log:
Fix sonar warning

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/hc/JMeterPoolingClientConnectionManager.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/hc/JMeterPoolingClientConnectionManager.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/hc/JMeterPoolingClientConnectionManager.java?rev=1784331&r1=1784330&r2=1784331&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/hc/JMeterPoolingClientConnectionManager.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/hc/JMeterPoolingClientConnectionManager.java
Fri Feb 24 21:07:05 2017
@@ -252,8 +252,8 @@ public class JMeterPoolingClientConnecti
             this.log.error("Unexpected exception leasing connection from pool", cause);
             // Should never happen
             throw new InterruptedException();
-        } catch (final TimeoutException ex) {
-            throw new ConnectionPoolTimeoutException("Timeout waiting for connection from
pool, message:"+ex.getMessage()); // NOSONAR 
+        } catch (final TimeoutException ex) { // NOSONAR Exception message is used
+            throw new ConnectionPoolTimeoutException("Timeout waiting for connection from
pool, message:"+ex.getMessage());  
         }
     }
     @Override



Mime
View raw message