Avoid compiler warnings due to imports of deprecated classes.
Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/44d949a1 Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/44d949a1 Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/44d949a1 Branch: refs/heads/MATH_3_X Commit: 44d949a1c3a402feed26340d636d768fc52b6e69 Parents: 903c315 Author: Luc Maisonobe <l...@apache.org> Authored: Fri Dec 25 16:33:28 2015 +0100 Committer: Luc Maisonobe <l...@apache.org> Committed: Fri Dec 25 16:33:28 2015 +0100 ---------------------------------------------------------------------- .../commons/math3/distribution/AbstractIntegerDistribution.java | 4 ++-- .../commons/math3/distribution/AbstractRealDistribution.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-math/blob/44d949a1/src/main/java/org/apache/commons/math3/distribution/AbstractIntegerDistribution.java ---------------------------------------------------------------------- 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 82a96c5..e51ba50 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. http://git-wip-us.apache.org/repos/asf/commons-math/blob/44d949a1/src/main/java/org/apache/commons/math3/distribution/AbstractRealDistribution.java ---------------------------------------------------------------------- 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 fb894b6..dbf0227 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.