Avoid compiler warnings due to imports of deprecated classes.
This commit is contained in:
parent
903c315a54
commit
44d949a1c3
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue