--- jsr166/src/test/loops/NavigableSetCheck.java 2011/03/15 19:47:05 1.8 +++ jsr166/src/test/loops/NavigableSetCheck.java 2014/12/31 17:00:58 1.11 @@ -7,8 +7,8 @@ * @test * @synopsis Times and checks basic set operations */ -import java.util.*; import java.io.*; +import java.util.*; public class NavigableSetCheck { @@ -25,7 +25,7 @@ public class NavigableSetCheck { } public static void main(String[] args) throws Exception { - Class setClass = null; + Class setClass = null; int numTests = 50; int size = 50000; @@ -68,7 +68,7 @@ public class NavigableSetCheck { } - static NavigableSet newSet(Class cl) { + static NavigableSet newSet(Class cl) { try { NavigableSet m = (NavigableSet) cl.newInstance(); return m; @@ -447,7 +447,7 @@ public class NavigableSetCheck { 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];