You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by th...@apache.org on 2003/09/23 17:39:48 UTC

cvs commit: jakarta-jmeter/src/components/org/apache/jmeter/control ThroughputController.java

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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org