jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380580 - /jmeter/trunk/src/functions/org/apache/jmeter/functions/IterationCounter.java
Date Tue, 04 Sep 2012 11:57:25 GMT
Author: pmouawad
Date: Tue Sep  4 11:57:24 2012
New Revision: 1380580

URL: http://svn.apache.org/viewvc?rev=1380580&view=rev
Log:
use parseBoolean

Modified:
    jmeter/trunk/src/functions/org/apache/jmeter/functions/IterationCounter.java

Modified: jmeter/trunk/src/functions/org/apache/jmeter/functions/IterationCounter.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/functions/org/apache/jmeter/functions/IterationCounter.java?rev=1380580&r1=1380579&r2=1380580&view=diff
==============================================================================
--- jmeter/trunk/src/functions/org/apache/jmeter/functions/IterationCounter.java (original)
+++ jmeter/trunk/src/functions/org/apache/jmeter/functions/IterationCounter.java Tue Sep 
4 11:57:24 2012
@@ -75,7 +75,7 @@ public class IterationCounter extends Ab
 
         JMeterVariables vars = getVariables();
 
-        boolean perThread = Boolean.valueOf(((CompoundVariable) variables[0]).execute()).booleanValue();
+        boolean perThread = Boolean.parseBoolean(((CompoundVariable) variables[0]).execute());
 
         String varName = ""; //$NON-NLS-1$
         if (variables.length >=2) {// Ensure variable has been provided



Mime
View raw message