thads 2003/09/23 08:39:48
Modified: src/components/org/apache/jmeter/control
ThroughputController.java
Log:
Fixed an unused variable problem.
Revision Changes Path
1.10 +3 -3
jakarta-jmeter/src/components/org/apache/jmeter/control/ThroughputController.java
Index: ThroughputController.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/components/org/apache/jmeter/control/ThroughputController.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ThroughputController.java 18 Aug 2003 19:38:18 -0000 1.9
+++ ThroughputController.java 23 Sep 2003 15:39:48 -0000 1.10
@@ -313,12 +313,12 @@
}
else
{
- if (iteration == 0 && getPercentThroughputAsFloat() > 0)
+ if (iterations == 0 && getPercentThroughputAsFloat() > 0)
{
retval = true;
}
else if (
- ((float) executions / iteration) * 100
+ ((float) executions / iterations) * 100
<= getPercentThroughputAsFloat())
{
retval = true;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]