[jboss-cvs] JBossAS SVN: r62063 - branches/Branch_4_0/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:58:36 EDT 2007
Author: dimitris at jboss.org
Date: 2007-04-03 18:58:35 -0400 (Tue, 03 Apr 2007)
New Revision: 62063
Modified:
branches/Branch_4_0/testsuite/src/main/org/jboss/test/jbossmx/compliance/timer/PeriodTestCase.java
Log:
JBAS-4291, remove the comment :)
Modified: branches/Branch_4_0/testsuite/src/main/org/jboss/test/jbossmx/compliance/timer/PeriodTestCase.java
===================================================================
--- branches/Branch_4_0/testsuite/src/main/org/jboss/test/jbossmx/compliance/timer/PeriodTestCase.java 2007-04-03 22:54:07 UTC (rev 62062)
+++ branches/Branch_4_0/testsuite/src/main/org/jboss/test/jbossmx/compliance/timer/PeriodTestCase.java 2007-04-03 22:58:35 UTC (rev 62063)
@@ -182,8 +182,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