jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1849599 - /jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/AbstractJDBCTestElement.java
Date Sun, 23 Dec 2018 10:26:17 GMT
Author: pmouawad
Date: Sun Dec 23 10:26:16 2018
New Revision: 1849599

URL: http://svn.apache.org/viewvc?rev=1849599&view=rev
Log:
Remove useless assignment , fix SONAR warning

Modified:
    jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/AbstractJDBCTestElement.java

Modified: jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/AbstractJDBCTestElement.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/AbstractJDBCTestElement.java?rev=1849599&r1=1849598&r2=1849599&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/AbstractJDBCTestElement.java
(original)
+++ jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/AbstractJDBCTestElement.java
Sun Dec 23 10:26:16 2018
@@ -628,7 +628,7 @@ public abstract class AbstractJDBCTestEl
      * @return the integer representation queryTimeout
      */
     public int getIntegerQueryTimeout() {
-        int timeout = 0;
+        int timeout;
         if(StringUtils.isEmpty(queryTimeout)) {
             return 0;
         } else {



Mime
View raw message