From 64c51505a82baf8260a34c7e83652ae3014009e4 Mon Sep 17 00:00:00 2001 From: Gilles Date: Sun, 29 May 2016 18:34:16 +0200 Subject: [PATCH] MATH-1366 Deprecation. Interface is not removed yet: Application developers might have to perform non-trivial adaptation to the new API (namely if they were using the "setSeed" methods). --- .../org/apache/commons/math4/random/RandomGenerator.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/math4/random/RandomGenerator.java b/src/main/java/org/apache/commons/math4/random/RandomGenerator.java index 8e0b5b187..49842ce20 100644 --- a/src/main/java/org/apache/commons/math4/random/RandomGenerator.java +++ b/src/main/java/org/apache/commons/math4/random/RandomGenerator.java @@ -18,11 +18,12 @@ package org.apache.commons.math4.random; /** - * Interface extracted from java.util.Random. This interface is - * implemented by {@link AbstractRandomGenerator}. + * Interface extracted from java.util.Random. * * @since 1.1 + * @deprecated As of 4.0. Please use {@link org.apache.commons.math4.rng.UniformRandomProvider} instead. */ +@Deprecated public interface RandomGenerator { /**