jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1445334 - /jmeter/trunk/src/core/org/apache/jmeter/control/LoopController.java
Date Tue, 12 Feb 2013 20:18:46 GMT
Author: pmouawad
Date: Tue Feb 12 20:18:46 2013
New Revision: 1445334

URL: http://svn.apache.org/r1445334
Log:
Change as per sebb remark

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/control/LoopController.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/control/LoopController.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/control/LoopController.java?rev=1445334&r1=1445333&r2=1445334&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/control/LoopController.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/control/LoopController.java Tue Feb 12 20:18:46
2013
@@ -54,7 +54,7 @@ public class LoopController extends Gene
     private transient int loopCount = 0;
 
     // Cache loop value, see Bug 54467
-    private Integer nbLoops;
+    private transient Integer nbLoops;
 
     public LoopController() {
         setContinueForever_private(true);
@@ -76,7 +76,7 @@ public class LoopController extends Gene
                 JMeterProperty prop = getProperty(LOOPS);
                 nbLoops = Integer.valueOf(prop.getStringValue());
             } catch (NumberFormatException e) {
-                nbLoops = 0;
+                nbLoops = Integer.valueOf(0);
             }
         }
         return nbLoops.intValue();



Mime
View raw message