diff --git a/src/main/java/org/apache/commons/math/genetics/GeneticAlgorithm.java b/src/main/java/org/apache/commons/math/genetics/GeneticAlgorithm.java index 081fe9e90..3d81ba360 100644 --- a/src/main/java/org/apache/commons/math/genetics/GeneticAlgorithm.java +++ b/src/main/java/org/apache/commons/math/genetics/GeneticAlgorithm.java @@ -34,6 +34,7 @@ public class GeneticAlgorithm { * Use {@link #setRandomGenerator(RandomGenerator)} to supply an alternative * to the default JDK-provided PRNG. */ + //@GuardedBy("this") private static RandomGenerator randomGenerator = new JDKRandomGenerator(); /** the crossover policy used by the algorithm. */