--- jsr166/src/test/loops/TimeUnitLoops.java 2005/05/09 19:33:30 1.2 +++ jsr166/src/test/loops/TimeUnitLoops.java 2011/03/15 19:47:06 1.4 @@ -1,7 +1,7 @@ /* * Written by Doug Lea with assistance from members of JCP JSR-166 * Expert Group and released to the public domain, as explained at - * http://creativecommons.org/licenses/publicdomain + * http://creativecommons.org/publicdomain/zero/1.0/ */ import java.util.concurrent.*; import java.util.Random; @@ -42,7 +42,7 @@ public class TimeUnitLoops { long sum = 0; int x = rng.next(); for (int i = 0; i < 1000000; ++i) { - long l = (long)x + (long)x; + long l = (long) x + (long) x; sum += cvt(l, TimeUnit.SECONDS); sum += TimeUnit.MILLISECONDS.toMicros(l+2); sum += cvt(l+17, TimeUnit.NANOSECONDS);