--- jsr166/src/test/loops/UnboundedQueueFillEmptyLoops.java 2005/11/28 15:40:56 1.1 +++ jsr166/src/test/loops/UnboundedQueueFillEmptyLoops.java 2009/11/02 23:42:46 1.4 @@ -1,7 +1,7 @@ /* * Written by Doug Lea with assistance from members of JCP JSR-166 - * Expert Group and released to the public domain. Use, modify, and - * redistribute this code in any way without acknowledgement. + * Expert Group and released to the public domain, as explained at + * http://creativecommons.org/licenses/publicdomain */ import java.util.*; @@ -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());