diff --git a/src/test/java/org/apache/commons/math3/optimization/fitting/CurveFitterTest.java b/src/test/java/org/apache/commons/math3/optimization/fitting/CurveFitterTest.java index c39cd4383..77b29714c 100644 --- a/src/test/java/org/apache/commons/math3/optimization/fitting/CurveFitterTest.java +++ b/src/test/java/org/apache/commons/math3/optimization/fitting/CurveFitterTest.java @@ -18,13 +18,8 @@ package org.apache.commons.math3.optimization.fitting; import org.apache.commons.math3.optimization.general.LevenbergMarquardtOptimizer; -import org.apache.commons.math3.optimization.general.GaussNewtonOptimizer; -import org.apache.commons.math3.optimization.DifferentiableMultivariateVectorOptimizer; -import org.apache.commons.math3.optimization.SimpleVectorValueChecker; import org.apache.commons.math3.analysis.ParametricUnivariateFunction; -import org.apache.commons.math3.analysis.polynomials.PolynomialFunction; import org.apache.commons.math3.util.FastMath; -import org.apache.commons.math3.util.Precision; import org.junit.Assert; import org.junit.Test; diff --git a/src/test/java/org/apache/commons/math3/optimization/general/AbstractLeastSquaresOptimizerTestValidation.java b/src/test/java/org/apache/commons/math3/optimization/general/AbstractLeastSquaresOptimizerTestValidation.java index 5d97554cd..532f443f6 100644 --- a/src/test/java/org/apache/commons/math3/optimization/general/AbstractLeastSquaresOptimizerTestValidation.java +++ b/src/test/java/org/apache/commons/math3/optimization/general/AbstractLeastSquaresOptimizerTestValidation.java @@ -13,7 +13,6 @@ */ package org.apache.commons.math3.optimization.general; -import java.io.IOException; import java.util.Arrays; import java.util.List; import java.util.ArrayList; @@ -24,7 +23,6 @@ import org.apache.commons.math3.stat.descriptive.StatisticalSummary; import org.apache.commons.math3.util.FastMath; import org.junit.Test; import org.junit.Assert; -import org.junit.Ignore; /** * This class demonstrates the main functionality of the diff --git a/src/test/java/org/apache/commons/math3/optimization/general/CircleProblem.java b/src/test/java/org/apache/commons/math3/optimization/general/CircleProblem.java index 33d6f3681..67d4a64df 100644 --- a/src/test/java/org/apache/commons/math3/optimization/general/CircleProblem.java +++ b/src/test/java/org/apache/commons/math3/optimization/general/CircleProblem.java @@ -17,7 +17,6 @@ package org.apache.commons.math3.optimization.general; -import java.util.Arrays; import java.util.ArrayList; import org.apache.commons.math3.analysis.DifferentiableMultivariateVectorFunction; import org.apache.commons.math3.analysis.MultivariateMatrixFunction; diff --git a/src/test/java/org/apache/commons/math3/optimization/general/RandomStraightLinePointGenerator.java b/src/test/java/org/apache/commons/math3/optimization/general/RandomStraightLinePointGenerator.java index 59a1ff474..a7f6eb68f 100644 --- a/src/test/java/org/apache/commons/math3/optimization/general/RandomStraightLinePointGenerator.java +++ b/src/test/java/org/apache/commons/math3/optimization/general/RandomStraightLinePointGenerator.java @@ -20,8 +20,6 @@ package org.apache.commons.math3.optimization.general; import java.awt.geom.Point2D; import org.apache.commons.math3.random.RandomGenerator; import org.apache.commons.math3.random.Well44497b; -import org.apache.commons.math3.util.MathUtils; -import org.apache.commons.math3.util.FastMath; import org.apache.commons.math3.distribution.RealDistribution; import org.apache.commons.math3.distribution.UniformRealDistribution; import org.apache.commons.math3.distribution.NormalDistribution; diff --git a/src/test/java/org/apache/commons/math3/optimization/general/StraightLineProblem.java b/src/test/java/org/apache/commons/math3/optimization/general/StraightLineProblem.java index f64519cac..5e087c768 100644 --- a/src/test/java/org/apache/commons/math3/optimization/general/StraightLineProblem.java +++ b/src/test/java/org/apache/commons/math3/optimization/general/StraightLineProblem.java @@ -17,13 +17,10 @@ package org.apache.commons.math3.optimization.general; -import java.util.Arrays; import java.util.ArrayList; import org.apache.commons.math3.analysis.DifferentiableMultivariateVectorFunction; import org.apache.commons.math3.analysis.MultivariateMatrixFunction; import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.util.MathUtils; -import org.apache.commons.math3.util.FastMath; import org.apache.commons.math3.stat.regression.SimpleRegression; /**