commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1370215 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math3: distribution/ optimization/ optimization/fitting/
Date Tue, 07 Aug 2012 12:39:00 GMT
Author: sebb
Date: Tue Aug  7 12:38:59 2012
New Revision: 1370215

URL: http://svn.apache.org/viewvc?rev=1370215&view=rev
Log:
Missing @Deprecated

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/AbstractIntegerDistribution.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/AbstractRealDistribution.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/GammaDistribution.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/AbstractConvergenceChecker.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/PolynomialFitter.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/AbstractIntegerDistribution.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/AbstractIntegerDistribution.java?rev=1370215&r1=1370214&r2=1370215&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/AbstractIntegerDistribution.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/AbstractIntegerDistribution.java
Tue Aug  7 12:38:59 2012
@@ -43,6 +43,7 @@ implements IntegerDistribution, Serializ
       * @deprecated As of 3.1, to be removed in 4.0. Please use the
       * {@link #random} instance variable instead.
       */
+    @Deprecated
     protected final RandomDataImpl randomData = new RandomDataImpl();
     /** RNG instance used to generate samples from the distribution. */
     protected final RandomGenerator random;

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/AbstractRealDistribution.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/AbstractRealDistribution.java?rev=1370215&r1=1370214&r2=1370215&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/AbstractRealDistribution.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/AbstractRealDistribution.java
Tue Aug  7 12:38:59 2012
@@ -47,6 +47,7 @@ implements RealDistribution, Serializabl
       * @deprecated As of 3.1, to be removed in 4.0. Please use the
       * {@link #random} instance variable instead.
       */
+    @Deprecated
     protected final RandomDataImpl randomData = new RandomDataImpl();
     /** RNG instance used to generate samples from the distribution. */
     protected final RandomGenerator random;

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/GammaDistribution.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/GammaDistribution.java?rev=1370215&r1=1370214&r2=1370215&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/GammaDistribution.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/distribution/GammaDistribution.java
Tue Aug  7 12:38:59 2012
@@ -156,6 +156,7 @@ public class GammaDistribution extends A
      * @deprecated as of version 3.1, {@link #getShape()} should be preferred.
      * This method will be removed in version 4.0.
      */
+    @Deprecated
     public double getAlpha() {
         return shape;
     }
@@ -176,6 +177,7 @@ public class GammaDistribution extends A
      * @deprecated as of version 3.1, {@link #getScale()} should be preferred.
      * This method will be removed in version 4.0.
      */
+    @Deprecated
     public double getBeta() {
         return scale;
     }

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/AbstractConvergenceChecker.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/AbstractConvergenceChecker.java?rev=1370215&r1=1370214&r2=1370215&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/AbstractConvergenceChecker.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/AbstractConvergenceChecker.java
Tue Aug  7 12:38:59 2012
@@ -34,12 +34,14 @@ public abstract class AbstractConvergenc
      * @deprecated in 3.1 (to be removed in 4.0) because this value is too small
      * to be useful as a default (cf. MATH-798).
      */
+    @Deprecated
     private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * Precision.EPSILON;
     /**
      * Default absolute threshold.
      * @deprecated in 3.1 (to be removed in 4.0) because this value is too small
      * to be useful as a default (cf. MATH-798).
      */
+    @Deprecated
     private static final double DEFAULT_ABSOLUTE_THRESHOLD = 100 * Precision.SAFE_MIN;
     /**
      * Relative tolerance threshold.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/PolynomialFitter.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/PolynomialFitter.java?rev=1370215&r1=1370214&r2=1370215&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/PolynomialFitter.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/PolynomialFitter.java
Tue Aug  7 12:38:59 2012
@@ -32,6 +32,7 @@ public class PolynomialFitter extends Cu
     /** Polynomial degree.
      * @deprecated
      */
+    @Deprecated
     private final int degree;
 
     /**
@@ -44,6 +45,7 @@ public class PolynomialFitter extends Cu
      * @deprecated Since 3.1 (to be removed in 4.0). Please use
      * {@link #PolynomialFitter(DifferentiableMultivariateVectorOptimizer)} instead.
      */
+    @Deprecated
     public PolynomialFitter(int degree, final DifferentiableMultivariateVectorOptimizer optimizer)
{
         super(optimizer);
         this.degree = degree;
@@ -67,6 +69,7 @@ public class PolynomialFitter extends Cu
      * if the algorithm failed to converge.
      * @deprecated Since 3.1 (to be removed in 4.0). Please use {@link #fit(double[])} instead.
      */
+    @Deprecated
     public double[] fit() {
         return fit(new PolynomialFunction.Parametric(), new double[degree + 1]);
     }



Mime
View raw message