--- jsr166/src/test/loops/CollectionWordLoops.java 2011/03/15 19:47:05 1.6 +++ jsr166/src/test/loops/CollectionWordLoops.java 2011/12/05 04:08:46 1.7 @@ -114,7 +114,7 @@ public class CollectionWordLoops { long startTime = System.currentTimeMillis(); runner.run(); long afterRun = System.currentTimeMillis(); - long runTime = (afterRun - startTime); + long runTime = afterRun - startTime; int np = runner.total; if (runner.total == runner.hashCode()) System.out.println("Useless Number" + runner.total); @@ -173,7 +173,7 @@ public class CollectionWordLoops { if (r < pctrem) { collection.remove(k); ++nremoves; - j += ((r >>> 8) & 7) + n / 2; + j += ((r >>> 8) & 7) + n / 2; if (j >= n) j -= n; } }