jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1776758 - in /jmeter/trunk/src/core/org/apache/jmeter/util: BeanShellInterpreter.java XPathUtil.java
Date Sat, 31 Dec 2016 14:34:13 GMT
Author: pmouawad
Date: Sat Dec 31 14:34:13 2016
New Revision: 1776758

URL: http://svn.apache.org/viewvc?rev=1776758&view=rev
Log:
sonar : fix squid:S1659  : Declare XXX on a separate line.

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

Modified: jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellInterpreter.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellInterpreter.java?rev=1776758&r1=1776757&r2=1776758&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellInterpreter.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellInterpreter.java Sat Dec 31 14:34:13
2016
@@ -55,7 +55,10 @@ public class BeanShellInterpreter {
 
     static {
         // Temporary copies, so can set the final ones
-        Method get = null, eval = null, set = null, source = null;
+        Method get = null;
+        Method eval = null;
+        Method set = null;
+        Method source = null;
         Class<?> clazz = null;
         ClassLoader loader = Thread.currentThread().getContextClassLoader();
         try {

Modified: jmeter/trunk/src/core/org/apache/jmeter/util/XPathUtil.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/util/XPathUtil.java?rev=1776758&r1=1776757&r2=1776758&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/XPathUtil.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/XPathUtil.java Sat Dec 31 14:34:13 2016
@@ -233,7 +233,8 @@ public class XPathUtil {
     }
 
     static class MyErrorHandler implements ErrorHandler {
-        private final boolean val, tol;
+        private final boolean val;
+        private final boolean tol;
 
         private final String type;
 



Mime
View raw message