From 3ff4165fc18a1aac05be07b5e86eb811ceb15ad0 Mon Sep 17 00:00:00 2001 From: Gilles Sadowski Date: Sat, 13 Aug 2011 17:32:38 +0000 Subject: [PATCH] MATH-560 Constructors are not going to be removed in the 3.0 release. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1157395 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/math/analysis/solvers/BisectionSolver.java | 1 - .../apache/commons/math/analysis/solvers/BrentSolver.java | 2 -- .../commons/math/analysis/solvers/LaguerreSolver.java | 2 -- .../apache/commons/math/analysis/solvers/MullerSolver.java | 2 -- .../apache/commons/math/analysis/solvers/NewtonSolver.java | 2 -- .../apache/commons/math/analysis/solvers/RiddersSolver.java | 2 -- .../apache/commons/math/analysis/solvers/SecantSolver.java | 2 -- src/site/xdoc/changes.xml | 6 ++++++ 8 files changed, 6 insertions(+), 13 deletions(-) diff --git a/src/main/java/org/apache/commons/math/analysis/solvers/BisectionSolver.java b/src/main/java/org/apache/commons/math/analysis/solvers/BisectionSolver.java index 59aea0564..36122026b 100644 --- a/src/main/java/org/apache/commons/math/analysis/solvers/BisectionSolver.java +++ b/src/main/java/org/apache/commons/math/analysis/solvers/BisectionSolver.java @@ -47,7 +47,6 @@ public class BisectionSolver extends UnivariateRealSolverImpl { /** * Construct a solver. - * */ public BisectionSolver() { super(100, 1E-6); diff --git a/src/main/java/org/apache/commons/math/analysis/solvers/BrentSolver.java b/src/main/java/org/apache/commons/math/analysis/solvers/BrentSolver.java index 5aa244702..ddb9c0f7e 100644 --- a/src/main/java/org/apache/commons/math/analysis/solvers/BrentSolver.java +++ b/src/main/java/org/apache/commons/math/analysis/solvers/BrentSolver.java @@ -64,9 +64,7 @@ public class BrentSolver extends UnivariateRealSolverImpl { /** * Construct a solver with default properties. - * @deprecated in 2.2 (to be removed in 3.0). */ - @Deprecated public BrentSolver() { super(DEFAULT_MAXIMUM_ITERATIONS, DEFAULT_ABSOLUTE_ACCURACY); } diff --git a/src/main/java/org/apache/commons/math/analysis/solvers/LaguerreSolver.java b/src/main/java/org/apache/commons/math/analysis/solvers/LaguerreSolver.java index e8534d252..8b2758f96 100644 --- a/src/main/java/org/apache/commons/math/analysis/solvers/LaguerreSolver.java +++ b/src/main/java/org/apache/commons/math/analysis/solvers/LaguerreSolver.java @@ -68,9 +68,7 @@ public class LaguerreSolver extends UnivariateRealSolverImpl { /** * Construct a solver. - * @deprecated in 2.2 (to be removed in 3.0) */ - @Deprecated public LaguerreSolver() { super(100, 1E-6); p = null; diff --git a/src/main/java/org/apache/commons/math/analysis/solvers/MullerSolver.java b/src/main/java/org/apache/commons/math/analysis/solvers/MullerSolver.java index 31d3162bf..04ec5c04b 100644 --- a/src/main/java/org/apache/commons/math/analysis/solvers/MullerSolver.java +++ b/src/main/java/org/apache/commons/math/analysis/solvers/MullerSolver.java @@ -54,9 +54,7 @@ public class MullerSolver extends UnivariateRealSolverImpl { /** * Construct a solver. - * @deprecated in 2.2 (to be removed in 3.0). */ - @Deprecated public MullerSolver() { super(100, 1E-6); } diff --git a/src/main/java/org/apache/commons/math/analysis/solvers/NewtonSolver.java b/src/main/java/org/apache/commons/math/analysis/solvers/NewtonSolver.java index 6daef0f18..5428b0085 100644 --- a/src/main/java/org/apache/commons/math/analysis/solvers/NewtonSolver.java +++ b/src/main/java/org/apache/commons/math/analysis/solvers/NewtonSolver.java @@ -50,9 +50,7 @@ public class NewtonSolver extends UnivariateRealSolverImpl { /** * Construct a solver. - * @deprecated in 2.2 (to be removed in 3.0). */ - @Deprecated public NewtonSolver() { super(100, 1E-6); } diff --git a/src/main/java/org/apache/commons/math/analysis/solvers/RiddersSolver.java b/src/main/java/org/apache/commons/math/analysis/solvers/RiddersSolver.java index 2594abcc4..89d863b30 100644 --- a/src/main/java/org/apache/commons/math/analysis/solvers/RiddersSolver.java +++ b/src/main/java/org/apache/commons/math/analysis/solvers/RiddersSolver.java @@ -53,9 +53,7 @@ public class RiddersSolver extends UnivariateRealSolverImpl { /** * Construct a solver. - * @deprecated in 2.2 */ - @Deprecated public RiddersSolver() { super(100, 1E-6); } diff --git a/src/main/java/org/apache/commons/math/analysis/solvers/SecantSolver.java b/src/main/java/org/apache/commons/math/analysis/solvers/SecantSolver.java index 71871c26b..7a2c3a207 100644 --- a/src/main/java/org/apache/commons/math/analysis/solvers/SecantSolver.java +++ b/src/main/java/org/apache/commons/math/analysis/solvers/SecantSolver.java @@ -58,9 +58,7 @@ public class SecantSolver extends UnivariateRealSolverImpl { /** * Construct a solver. - * @deprecated in 2.2 (to be removed in 3.0). */ - @Deprecated public SecantSolver() { super(100, 1E-6); } diff --git a/src/site/xdoc/changes.xml b/src/site/xdoc/changes.xml index 400db6040..386ca9e89 100644 --- a/src/site/xdoc/changes.xml +++ b/src/site/xdoc/changes.xml @@ -51,6 +51,12 @@ The type attribute can be add,update,fix,remove. with a new-line in the release notes. (These spaces are ignored when displaying HTML). If the output is not quite correct, check for invisible trailing spaces! --> + + + Removed unwarranted deprecated tags. + + +