jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380062 - /jmeter/trunk/src/components/org/apache/jmeter/timers/JSR223Timer.java
Date Sun, 02 Sep 2012 21:25:03 GMT
Author: pmouawad
Date: Sun Sep  2 21:25:03 2012
New Revision: 1380062

URL: http://svn.apache.org/viewvc?rev=1380062&view=rev
Log:
Use parseLong instead of useless Wrapper

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/timers/JSR223Timer.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/timers/JSR223Timer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/timers/JSR223Timer.java?rev=1380062&r1=1380061&r2=1380062&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/timers/JSR223Timer.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/timers/JSR223Timer.java Sun Sep  2 21:25:03
2012
@@ -43,7 +43,7 @@ public class JSR223Timer extends JSR223T
                 log.warn("Script did not return a value");
                 return 0;
             }
-            delay = Long.valueOf(o.toString()).longValue();
+            delay = Long.parseLong(o.toString());
         } catch (NumberFormatException e) {
             log.warn("Problem in JSR223 script ", e);
         } catch (IOException e) {



Mime
View raw message