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 2016/12/29 21:40:41 UTC

svn commit: r1776497 - /jmeter/trunk/src/core/org/apache/jmeter/engine/DistributedRunner.java

Author: pmouawad
Date: Thu Dec 29 21:40:41 2016
New Revision: 1776497

URL: http://svn.apache.org/viewvc?rev=1776497&view=rev
Log:
sonar: ignore false positive

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/engine/DistributedRunner.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/engine/DistributedRunner.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/engine/DistributedRunner.java?rev=1776497&r1=1776496&r2=1776497&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/engine/DistributedRunner.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/engine/DistributedRunner.java Thu Dec 29 21:40:41 2016
@@ -81,8 +81,8 @@ public class DistributedRunner {
                 println("Pausing before retry for " + retriesDelay + "ms");
                 try {
                     Thread.sleep(retriesDelay);
-                } catch (InterruptedException e) {
-                    throw new RuntimeException("Interrupted while initializing remote", e); // NOSONAR
+                } catch (InterruptedException e) {  // NOSONAR
+                    throw new RuntimeException("Interrupted while initializing remote", e);
                 }
             }
 
@@ -133,8 +133,8 @@ public class DistributedRunner {
                 } else {
                     log.warn("Host not found in list of active engines: " + address);
                 }
-            } catch (IllegalStateException | JMeterEngineException e) {
-                JMeterUtils.reportErrorToUser(e.getMessage(), JMeterUtils.getResString("remote_error_starting")); // $NON-NLS-1$ NOSONAR already reported to user 
+            } catch (IllegalStateException | JMeterEngineException e) { // NOSONAR already reported to user
+                JMeterUtils.reportErrorToUser(e.getMessage(), JMeterUtils.getResString("remote_error_starting")); // $NON-NLS-1$  
             }
         }
         println("Remote engines have been started");