[jboss-cvs] JBossAS SVN: r62061 - branches/Branch_4_2/testsuite/src/main/org/jboss/test/jbossmx/compliance/timer.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Apr 3 18:53:43 EDT 2007


Author: dimitris at jboss.org
Date: 2007-04-03 18:53:43 -0400 (Tue, 03 Apr 2007)
New Revision: 62061

Modified:
   branches/Branch_4_2/testsuite/src/main/org/jboss/test/jbossmx/compliance/timer/PeriodTestCase.java
Log:
JBAS-4291, remove the comment :)

Modified: branches/Branch_4_2/testsuite/src/main/org/jboss/test/jbossmx/compliance/timer/PeriodTestCase.java
===================================================================
--- branches/Branch_4_2/testsuite/src/main/org/jboss/test/jbossmx/compliance/timer/PeriodTestCase.java	2007-04-03 22:46:11 UTC (rev 62060)
+++ branches/Branch_4_2/testsuite/src/main/org/jboss/test/jbossmx/compliance/timer/PeriodTestCase.java	2007-04-03 22:53:43 UTC (rev 62061)
@@ -192,8 +192,7 @@
       log.debug("Actual difference: " + actualDiff + "%, allowed: +/-" + percentage + "%");
 
       long diff = Math.abs(expected - actual);
-      // percentage converted to milliseconds
-      long maxDeviation = expected * percentage/100;
+      long maxDeviation = expected * percentage / 100;
       
       if (diff > maxDeviation)
          fail("Time difference larger than " + percentage + "%");




More information about the jboss-cvs-commits mailing list