--- jsr166/src/test/loops/FJSums.java 2010/10/22 05:18:31 1.3 +++ jsr166/src/test/loops/FJSums.java 2011/10/31 23:18:46 1.6 @@ -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/ */ import java.util.*; @@ -14,7 +14,7 @@ public class FJSums { static final long NPS = (1000L * 1000 * 1000); static int THRESHOLD; - public static void main (String[] args) throws Exception { + public static void main(String[] args) throws Exception { int procs = 0; int n = 1 << 25; int reps = 10; @@ -24,7 +24,7 @@ public class FJSums { if (args.length > 1) n = Integer.parseInt(args[1]); if (args.length > 2) - reps = Integer.parseInt(args[1]); + reps = Integer.parseInt(args[2]); } catch (Exception e) { System.out.println("Usage: java FJSums threads n reps");