--- jsr166/src/test/loops/IntegrateGamma.java 2010/10/16 16:22:57 1.3 +++ jsr166/src/test/loops/IntegrateGamma.java 2012/07/04 20:07:02 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.concurrent.*; @@ -38,7 +38,7 @@ public class IntegrateGamma { return; } - ForkJoinPool g = procs == 0? new ForkJoinPool() : + ForkJoinPool g = (procs == 0) ? new ForkJoinPool() : new ForkJoinPool(procs); System.out.println("Integrating from " + start + " to " + end + " exponent: " + exp + " parallelism " + g.getParallelism()); @@ -171,5 +171,3 @@ public class IntegrateGamma { } } - -