--- jsr166/src/test/loops/TSPExchangerTest.java 2012/02/21 01:54:03 1.14 +++ jsr166/src/test/loops/TSPExchangerTest.java 2015/01/02 16:57:15 1.17 @@ -39,7 +39,7 @@ public class TSPExchangerTest { static final int NCPUS = Runtime.getRuntime().availableProcessors(); /** Runs start with two threads, increasing by two through max */ - static final int DEFAULT_MAX_THREADS = Math.max(4, NCPUS + NCPUS/2); + static final int DEFAULT_MAX_THREADS = Math.max(4, NCPUS + NCPUS/2); /** The number of replication runs per thread value */ static final int DEFAULT_REPLICATIONS = 3; @@ -362,7 +362,7 @@ public class TSPExchangerTest { } /** - * A Subpop maintains a set of chromosomes.. + * A Subpop maintains a set of chromosomes. */ static final class Subpop { /** The chromosomes, kept in sorted order */ @@ -406,7 +406,7 @@ public class TSPExchangerTest { * other. It is hardwired because small variations of it * don't matter much. * - * @param g the first generation to run. + * @param g the first generation to run */ int runUpdates() throws InterruptedException { int n = 1 + (rng.next() & ((subpopSize << 1) - 1));