--- jsr166/src/test/loops/ListBash.java 2011/03/15 19:47:05 1.12 +++ jsr166/src/test/loops/ListBash.java 2013/07/14 22:29:33 1.14 @@ -25,7 +25,7 @@ public class ListBash { fail("Class " + args[0] + " not found."); } - synch = (args.length>3); + synch = (args.length > 3); oneRun(); oneRun(); oneRun(); @@ -33,11 +33,11 @@ public class ListBash { static void oneRun() { long startTime = System.nanoTime(); - for (int i=0; i s = newList(cl, synch); - for (int i=0; i itAll = all.listIterator(all.size()); ListIterator itEven = even.listIterator(even.size()); while (itEven.hasPrevious()) { @@ -205,7 +205,7 @@ public class ListBash { Object o = it.next(); if (all.indexOf(o) != all.lastIndexOf(o)) fail("Apparent duplicate detected."); - if (all.subList(i, all.size()).indexOf(o) != 0) { + if (all.subList(i, all.size()).indexOf(o) != 0) { System.out.println("s0: " + all.subList(i, all.size()).indexOf(o)); fail("subList/indexOf is screwy."); } @@ -272,7 +272,7 @@ public class ListBash { } static void AddRandoms(List s, int n) { - for (int i=0; i