commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [27/32] [math] MATH-1366
Date Sun, 29 May 2016 21:01:52 GMT
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).


Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/64c51505
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/64c51505
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/64c51505

Branch: refs/heads/develop
Commit: 64c51505a82baf8260a34c7e83652ae3014009e4
Parents: 525b82c
Author: Gilles <gilles@harfang.homelinux.org>
Authored: Sun May 29 18:34:16 2016 +0200
Committer: Gilles <gilles@harfang.homelinux.org>
Committed: Sun May 29 18:34:16 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/commons/math4/random/RandomGenerator.java   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/64c51505/src/main/java/org/apache/commons/math4/random/RandomGenerator.java
----------------------------------------------------------------------
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 8e0b5b1..49842ce 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 <code>java.util.Random</code>.  This interface is
- * implemented by {@link AbstractRandomGenerator}.
+ * Interface extracted from <code>java.util.Random</code>.
  *
  * @since 1.1
+ * @deprecated As of 4.0.  Please use {@link org.apache.commons.math4.rng.UniformRandomProvider}
instead.
  */
+@Deprecated
 public interface RandomGenerator {
 
     /**


Mime
View raw message