--- jsr166/src/test/loops/IntMapCheck.java 2010/09/01 07:47:27 1.9 +++ jsr166/src/test/loops/IntMapCheck.java 2014/12/18 18:43:22 1.12 @@ -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/ */ /** * @test @@ -22,7 +22,7 @@ public class IntMapCheck { } public static void main(String[] args) throws Exception { - Class mapClass = java.util.concurrent.ConcurrentHashMap.class; + Class mapClass = java.util.concurrent.ConcurrentHashMap.class; int numTests = 50; int size = 75000; @@ -73,7 +73,7 @@ public class IntMapCheck { stest(newMap(mapClass), size); } - static Map newMap(Class cl) { + static Map newMap(Class cl) { try { Map m = (Map)cl.newInstance(); return m; @@ -607,7 +607,7 @@ public class IntMapCheck { static void shuffle(Integer[] keys) { int size = keys.length; - for (int i=size; i>1; i--) { + for (int i = size; i > 1; i--) { int r = rng.nextInt(i); Integer t = keys[i-1]; keys[i-1] = keys[r];