--- jsr166/src/test/loops/UnboundedQueueFillEmptyLoops.java 2007/02/19 00:46:06 1.2 +++ jsr166/src/test/loops/UnboundedQueueFillEmptyLoops.java 2009/11/02 23:51:32 1.5 @@ -20,12 +20,12 @@ public class UnboundedQueueFillEmptyLoop if (args.length > 0) { try { klass = Class.forName(args[0]); - } catch(ClassNotFoundException e) { + } catch (ClassNotFoundException e) { throw new RuntimeException("Class " + args[0] + " not found."); } } - if (args.length > 2) + if (args.length > 2) maxSize = Integer.parseInt(args[2]); System.out.print("Class: " + klass.getName()); @@ -45,7 +45,7 @@ public class UnboundedQueueFillEmptyLoop } static void oneRun(Class klass, int n) throws Exception { - Queue q = (Queue)klass.newInstance(); + Queue q = (Queue) klass.newInstance(); int sum = total; int m = rng.nextInt(numbers.length); long startTime = System.nanoTime();