jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1852956 - /jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java
Date Mon, 04 Feb 2019 22:02:18 GMT
Author: pmouawad
Date: Mon Feb  4 22:02:18 2019
New Revision: 1852956

URL: http://svn.apache.org/viewvc?rev=1852956&view=rev
Log:
SONAR : Fix false positive

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

Modified: jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java?rev=1852956&r1=1852955&r2=1852956&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java Mon Feb  4 22:02:18
2019
@@ -255,7 +255,7 @@ public abstract class JSR223TestElement
             try {
                 ((Compilable) scriptEngine).compile(getScript());
                 return true;
-            } catch (ScriptException e) {
+            } catch (ScriptException e) { // NOSONAR
                 logger.error("Error compiling script for test element {}, error:{}", getName(),
e.getMessage());
                 return false;
             }
@@ -266,7 +266,7 @@ public abstract class JSR223TestElement
                 try {
                     ((Compilable) scriptEngine).compile(fileReader);
                     return true;
-                } catch (ScriptException e) {
+                } catch (ScriptException e) { // NOSONAR
                     logger.error("Error compiling script for test element {}, error:{}",
getName(), e.getMessage());
                     return false;
                 }



Mime
View raw message