commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1422107 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/EmpiricalDistribution.java
Date Fri, 14 Dec 2012 21:47:22 GMT
Author: erans
Date: Fri Dec 14 21:47:21 2012
New Revision: 1422107

URL: http://svn.apache.org/viewvc?rev=1422107&view=rev
Log:
Deprecation.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/EmpiricalDistribution.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/EmpiricalDistribution.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/EmpiricalDistribution.java?rev=1422107&r1=1422106&r2=1422107&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/EmpiricalDistribution.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/EmpiricalDistribution.java
Fri Dec 14 21:47:21 2012
@@ -185,7 +185,9 @@ public class EmpiricalDistribution exten
      * @param binCount number of bins
      * @param randomData random data generator (may be null, resulting in default JDK generator)
      * @since 3.0
+     * @deprecated As of 3.1. Please use {@link #EmpiricalDistribution(int,RandomGenerator)}
instead.
      */
+    @Deprecated
     public EmpiricalDistribution(int binCount, RandomDataImpl randomData) {
         this.binCount = binCount;
         this.randomData = randomData;
@@ -198,7 +200,9 @@ public class EmpiricalDistribution exten
      *
      * @param randomData random data generator (may be null, resulting in default JDK generator)
      * @since 3.0
+     * @deprecated As of 3.1. Please use {@link #EmpiricalDistribution(RandomGenerator)}
instead.
      */
+    @Deprecated
     public EmpiricalDistribution(RandomDataImpl randomData) {
         this(DEFAULT_BIN_COUNT, randomData);
     }



Mime
View raw message