--- jsr166/src/test/loops/StringMapLoops.java 2009/11/03 01:04:02 1.6 +++ jsr166/src/test/loops/StringMapLoops.java 2013/12/21 22:28:43 1.9 @@ -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.*; @@ -148,7 +148,7 @@ public class StringMapLoops { int position; int total; - Runner(int id, Map map, String[] key, CyclicBarrier barrier) { + Runner(int id, Map map, String[] key, CyclicBarrier barrier) { this.map = map; this.key = key; this.barrier = barrier; @@ -158,7 +158,7 @@ public class StringMapLoops { } int step() { - // random-walk around key positions, bunching accesses + // random-walk around key positions, bunching accesses int r = rng.next(); position += (r & 7) - 3; while (position >= key.length) position -= key.length;