commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1030796 - in /commons/proper/math/trunk/src: main/java/org/apache/commons/math/ main/java/org/apache/commons/math/analysis/interpolation/ main/java/org/apache/commons/math/linear/ main/java/org/apache/commons/math/optimization/ main/java/o...
Date Thu, 04 Nov 2010 01:41:34 GMT
Author: sebb
Date: Thu Nov  4 01:41:33 2010
New Revision: 1030796

URL: http://svn.apache.org/viewvc?rev=1030796&view=rev
Log:
Add missing @Deprecated annotations

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/ArgumentOutsideDomainException.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/ConvergingAlgorithm.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/ConvergingAlgorithmImpl.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/DuplicateSampleAbscissaException.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/FunctionEvaluationException.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/MathRuntimeException.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolator.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/InvalidMatrixException.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/MatrixIndexException.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/RealConvergenceChecker.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/NonLinearConjugateGradientOptimizer.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolatorTest.java
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/MathUtilsTest.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ArgumentOutsideDomainException.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ArgumentOutsideDomainException.java?rev=1030796&r1=1030795&r2=1030796&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ArgumentOutsideDomainException.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ArgumentOutsideDomainException.java
Thu Nov  4 01:41:33 2010
@@ -25,6 +25,7 @@ package org.apache.commons.math;
  * @deprecated in 2.2 (to be removed in 3.0). Please use
  * {@link org.apache.commons.math.exception.OutOfRangeException} instead.
  */
+@Deprecated
 public class ArgumentOutsideDomainException extends FunctionEvaluationException {
 
     /** Serializable version identifier. */

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ConvergingAlgorithm.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ConvergingAlgorithm.java?rev=1030796&r1=1030795&r2=1030796&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ConvergingAlgorithm.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ConvergingAlgorithm.java
Thu Nov  4 01:41:33 2010
@@ -28,6 +28,7 @@ package org.apache.commons.math;
  * @since 2.0
  * @deprecated in 2.2 (to be removed in 3.0).
  */
+@Deprecated
 public interface ConvergingAlgorithm {
 
     /**

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ConvergingAlgorithmImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ConvergingAlgorithmImpl.java?rev=1030796&r1=1030795&r2=1030796&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ConvergingAlgorithmImpl.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ConvergingAlgorithmImpl.java
Thu Nov  4 01:41:33 2010
@@ -25,6 +25,7 @@ package org.apache.commons.math;
  * @since 2.0
  * @deprecated in 2.2 (to be removed in 3.0).
  */
+@Deprecated
 public abstract class ConvergingAlgorithmImpl implements ConvergingAlgorithm {
 
     /** Maximum absolute error. */
@@ -58,6 +59,7 @@ public abstract class ConvergingAlgorith
      * @deprecated in 2.2. Derived classes should use the "setter" methods
      * in order to assign meaningful values to all the instances variables.
      */
+    @Deprecated
     protected ConvergingAlgorithmImpl(final int defaultMaximalIterationCount,
                                       final double defaultAbsoluteAccuracy) {
         this.defaultAbsoluteAccuracy = defaultAbsoluteAccuracy;
@@ -76,6 +78,7 @@ public abstract class ConvergingAlgorith
      * @deprecated in 2.2 (to be removed as soon as the single non-default one
      * has been removed).
      */
+    @Deprecated
     protected ConvergingAlgorithmImpl() {}
 
     /** {@inheritDoc} */

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/DuplicateSampleAbscissaException.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/DuplicateSampleAbscissaException.java?rev=1030796&r1=1030795&r2=1030796&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/DuplicateSampleAbscissaException.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/DuplicateSampleAbscissaException.java
Thu Nov  4 01:41:33 2010
@@ -25,6 +25,7 @@ import org.apache.commons.math.exception
  * @version $Revision$ $Date$
  * @deprecated in 2.2 (to be removed in 3.0).
  */
+@Deprecated
 public class DuplicateSampleAbscissaException extends MathException  {
 
     /** Serializable version identifier */

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/FunctionEvaluationException.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/FunctionEvaluationException.java?rev=1030796&r1=1030795&r2=1030796&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/FunctionEvaluationException.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/FunctionEvaluationException.java
Thu Nov  4 01:41:33 2010
@@ -31,6 +31,7 @@ import org.apache.commons.math.linear.Ar
  * @deprecated in 2.2 (to be removed in 3.0). Please use
  * {@link org.apache.commons.math.exception.FunctionEvaluationException} instead.
  */
+@Deprecated
 public class FunctionEvaluationException extends MathException  {
 
     /** Serializable version identifier. */

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/MathRuntimeException.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/MathRuntimeException.java?rev=1030796&r1=1030795&r2=1030796&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/MathRuntimeException.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/MathRuntimeException.java
Thu Nov  4 01:41:33 2010
@@ -559,6 +559,7 @@ public class MathRuntimeException extend
      * @deprecated in 2.2. Please use {@link org.apache.commons.math.exception.MathUnsupportedOperationException}
      * instead.
      */
+    @Deprecated
     public static UnsupportedOperationException createUnsupportedOperationException(final
Localizable pattern,
                                                                                     final
Object ... arguments) {
         return new UnsupportedOperationException() {
@@ -604,6 +605,7 @@ public class MathRuntimeException extend
      * @since 2.2
      * @deprecated in 2.2. Checks for "null" must not be performed in Commons-Math.
      */
+    @Deprecated
     public static NullPointerException createNullPointerException(final Localizable pattern,
                                                                   final Object ... arguments)
{
         return new NullPointerException() {

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolator.java?rev=1030796&r1=1030795&r2=1030796&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolator.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolator.java
Thu Nov  4 01:41:33 2010
@@ -40,6 +40,7 @@ import org.apache.commons.math.exception
  * {@link org.apache.commons.math.analysis.interpolation.SmoothingPolynomialBicubicSplineInterpolator}.
  * This class will be removed in math 3.0.
  */
+@Deprecated
 public class SmoothingBicubicSplineInterpolator
     implements BivariateRealGridInterpolator {
     /**

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/InvalidMatrixException.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/InvalidMatrixException.java?rev=1030796&r1=1030795&r2=1030796&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/InvalidMatrixException.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/InvalidMatrixException.java
Thu Nov  4 01:41:33 2010
@@ -29,6 +29,7 @@ import org.apache.commons.math.exception
  * @deprecated since 2.2. Please use the classes in the
  * {@link org.apache.commons.math.exception} package.
  */
+@Deprecated
 public class InvalidMatrixException extends MathRuntimeException {
 
     /** Serializable version identifier. */

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/MatrixIndexException.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/MatrixIndexException.java?rev=1030796&r1=1030795&r2=1030796&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/MatrixIndexException.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/MatrixIndexException.java
Thu Nov  4 01:41:33 2010
@@ -28,6 +28,7 @@ import org.apache.commons.math.exception
  * @deprecated in 2.2 (to be removed in 3.0). Please use the exceptions in package
  * {@link org.apache.commons.math.exception}.
  */
+@Deprecated
 public class MatrixIndexException extends MathRuntimeException {
 
     /** Serializable version identifier */

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/RealConvergenceChecker.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/RealConvergenceChecker.java?rev=1030796&r1=1030795&r2=1030796&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/RealConvergenceChecker.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/RealConvergenceChecker.java
Thu Nov  4 01:41:33 2010
@@ -34,6 +34,7 @@ package org.apache.commons.math.optimiza
  * @since 2.0
  * @deprecated To be removed in 3.0.
  */
+@Deprecated
 public interface RealConvergenceChecker {
 
   /** Check if the optimization algorithm has converged considering the last points.

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/NonLinearConjugateGradientOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/NonLinearConjugateGradientOptimizer.java?rev=1030796&r1=1030795&r2=1030796&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/NonLinearConjugateGradientOptimizer.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/optimization/general/NonLinearConjugateGradientOptimizer.java
Thu Nov  4 01:41:33 2010
@@ -221,6 +221,7 @@ public class NonLinearConjugateGradientO
      * @exception MathIllegalStateException if no bracket can be found
      * @deprecated in 2.2 (must be replaced with "BracketFinder").
      */
+    @Deprecated
     private double findUpperBound(final UnivariateRealFunction f,
                                   final double a, final double h)
         throws FunctionEvaluationException {

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolatorTest.java?rev=1030796&r1=1030795&r2=1030796&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolatorTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolatorTest.java
Thu Nov  4 01:41:33 2010
@@ -28,6 +28,7 @@ import org.junit.Test;
  * @version $Revision$ $Date$ 
  * @deprecated To be removed in math 3.0 (when the class for which it is a test will also
be removed).
  */
+@Deprecated
 public final class SmoothingBicubicSplineInterpolatorTest {
     /**
      * Test preconditions.

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/MathUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/MathUtilsTest.java?rev=1030796&r1=1030795&r2=1030796&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/MathUtilsTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/MathUtilsTest.java
Thu Nov  4 01:41:33 2010
@@ -439,6 +439,7 @@ public final class MathUtilsTest extends
      * @deprecated To be removed in release 3.0 (replaced by {@link
      * #testArrayEqualsIncludingNaN()}.
      */
+    @Deprecated
     public void testArrayEquals() {
         assertFalse(MathUtils.equals(new double[] { 1d }, null));
         assertFalse(MathUtils.equals(null, new double[] { 1d }));



Mime
View raw message