diff --git a/src/main/java/org/apache/commons/math3/distribution/AbstractIntegerDistribution.java b/src/main/java/org/apache/commons/math3/distribution/AbstractIntegerDistribution.java index 82a96c5a8..e51ba5070 100644 --- a/src/main/java/org/apache/commons/math3/distribution/AbstractIntegerDistribution.java +++ b/src/main/java/org/apache/commons/math3/distribution/AbstractIntegerDistribution.java @@ -24,7 +24,6 @@ import org.apache.commons.math3.exception.NumberIsTooLargeException; import org.apache.commons.math3.exception.OutOfRangeException; import org.apache.commons.math3.exception.util.LocalizedFormats; import org.apache.commons.math3.random.RandomGenerator; -import org.apache.commons.math3.random.RandomDataImpl; import org.apache.commons.math3.util.FastMath; /** @@ -44,7 +43,8 @@ public abstract class AbstractIntegerDistribution implements IntegerDistribution * {@link #random} instance variable instead. */ @Deprecated - protected final RandomDataImpl randomData = new RandomDataImpl(); + protected final org.apache.commons.math3.random.RandomDataImpl randomData = + new org.apache.commons.math3.random.RandomDataImpl(); /** * RNG instance used to generate samples from the distribution. diff --git a/src/main/java/org/apache/commons/math3/distribution/AbstractRealDistribution.java b/src/main/java/org/apache/commons/math3/distribution/AbstractRealDistribution.java index fb894b69d..dbf022798 100644 --- a/src/main/java/org/apache/commons/math3/distribution/AbstractRealDistribution.java +++ b/src/main/java/org/apache/commons/math3/distribution/AbstractRealDistribution.java @@ -25,7 +25,6 @@ import org.apache.commons.math3.exception.NumberIsTooLargeException; import org.apache.commons.math3.exception.OutOfRangeException; import org.apache.commons.math3.exception.util.LocalizedFormats; import org.apache.commons.math3.random.RandomGenerator; -import org.apache.commons.math3.random.RandomDataImpl; import org.apache.commons.math3.util.FastMath; /** @@ -47,7 +46,8 @@ implements RealDistribution, Serializable { * {@link #random} instance variable instead. */ @Deprecated - protected RandomDataImpl randomData = new RandomDataImpl(); + protected org.apache.commons.math3.random.RandomDataImpl randomData = + new org.apache.commons.math3.random.RandomDataImpl(); /** * RNG instance used to generate samples from the distribution.