Avoid compiler warnings due to imports of deprecated classes.

This commit is contained in:
Luc Maisonobe 2015-12-25 16:33:28 +01:00
parent 903c315a54
commit 44d949a1c3
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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.