From f7e0d743526a9af68233a21e4af01810c1ded2b8 Mon Sep 17 00:00:00 2001 From: Gilles Sadowski Date: Tue, 17 Dec 2019 02:34:03 +0100 Subject: [PATCH] Unused "import" statements. --- .../commons/math4/field/linalg/FieldDecompositionSolver.java | 2 -- .../commons/math4/field/linalg/FieldLUDecomposition.java | 3 --- .../math4/geometry/euclidean/threed/FieldVector3D.java | 1 - .../commons/math4/ode/nonstiff/AdamsNordsieckTransformer.java | 4 ---- src/main/java/org/apache/commons/math4/special/BesselJ.java | 1 - .../commons/math4/stat/inference/KolmogorovSmirnovTest.java | 1 - .../commons/math4/stat/regression/RegressionResults.java | 1 - 7 files changed, 13 deletions(-) diff --git a/src/main/java/org/apache/commons/math4/field/linalg/FieldDecompositionSolver.java b/src/main/java/org/apache/commons/math4/field/linalg/FieldDecompositionSolver.java index 0136062ca..677ae06f8 100644 --- a/src/main/java/org/apache/commons/math4/field/linalg/FieldDecompositionSolver.java +++ b/src/main/java/org/apache/commons/math4/field/linalg/FieldDecompositionSolver.java @@ -17,8 +17,6 @@ package org.apache.commons.math4.field.linalg; -import java.util.List; - /** * Interface handling decomposition algorithms that can solve {@code A X = B}. * diff --git a/src/main/java/org/apache/commons/math4/field/linalg/FieldLUDecomposition.java b/src/main/java/org/apache/commons/math4/field/linalg/FieldLUDecomposition.java index 137bcbdc6..079097917 100644 --- a/src/main/java/org/apache/commons/math4/field/linalg/FieldLUDecomposition.java +++ b/src/main/java/org/apache/commons/math4/field/linalg/FieldLUDecomposition.java @@ -17,11 +17,8 @@ package org.apache.commons.math4.field.linalg; -import java.util.List; -import java.util.ArrayList; import org.apache.commons.numbers.field.Field; import org.apache.commons.math4.linear.SingularMatrixException; -import org.apache.commons.math4.exception.DimensionMismatchException; /** * Calculates the LUP-decomposition of a square matrix. diff --git a/src/main/java/org/apache/commons/math4/geometry/euclidean/threed/FieldVector3D.java b/src/main/java/org/apache/commons/math4/geometry/euclidean/threed/FieldVector3D.java index 74d4d6fb3..5942ef5ac 100644 --- a/src/main/java/org/apache/commons/math4/geometry/euclidean/threed/FieldVector3D.java +++ b/src/main/java/org/apache/commons/math4/geometry/euclidean/threed/FieldVector3D.java @@ -18,7 +18,6 @@ package org.apache.commons.math4.geometry.euclidean.threed; import java.io.Serializable; -import java.text.NumberFormat; import org.apache.commons.geometry.euclidean.threed.Vector3D; import org.apache.commons.math4.RealFieldElement; diff --git a/src/main/java/org/apache/commons/math4/ode/nonstiff/AdamsNordsieckTransformer.java b/src/main/java/org/apache/commons/math4/ode/nonstiff/AdamsNordsieckTransformer.java index 60f5ee7d9..a2338783e 100644 --- a/src/main/java/org/apache/commons/math4/ode/nonstiff/AdamsNordsieckTransformer.java +++ b/src/main/java/org/apache/commons/math4/ode/nonstiff/AdamsNordsieckTransformer.java @@ -17,16 +17,12 @@ package org.apache.commons.math4.ode.nonstiff; -import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.apache.commons.numbers.fraction.BigFraction; import org.apache.commons.numbers.field.BigFractionField; -import org.apache.commons.math4.linear.Array2DRowFieldMatrix; import org.apache.commons.math4.linear.Array2DRowRealMatrix; -import org.apache.commons.math4.linear.ArrayFieldVector; -import org.apache.commons.math4.linear.MatrixUtils; import org.apache.commons.math4.linear.QRDecomposition; import org.apache.commons.math4.linear.RealMatrix; import org.apache.commons.math4.field.linalg.FieldDenseMatrix; diff --git a/src/main/java/org/apache/commons/math4/special/BesselJ.java b/src/main/java/org/apache/commons/math4/special/BesselJ.java index d91bc8bd0..b34feea9b 100644 --- a/src/main/java/org/apache/commons/math4/special/BesselJ.java +++ b/src/main/java/org/apache/commons/math4/special/BesselJ.java @@ -24,7 +24,6 @@ import org.apache.commons.math4.exception.ConvergenceException; import org.apache.commons.math4.exception.MathIllegalArgumentException; import org.apache.commons.math4.exception.util.LocalizedFormats; import org.apache.commons.math4.util.FastMath; -import org.apache.commons.math4.util.MathArrays; /** * This class provides computation methods related to Bessel diff --git a/src/main/java/org/apache/commons/math4/stat/inference/KolmogorovSmirnovTest.java b/src/main/java/org/apache/commons/math4/stat/inference/KolmogorovSmirnovTest.java index d62371ada..e85cc0986 100644 --- a/src/main/java/org/apache/commons/math4/stat/inference/KolmogorovSmirnovTest.java +++ b/src/main/java/org/apache/commons/math4/stat/inference/KolmogorovSmirnovTest.java @@ -17,7 +17,6 @@ package org.apache.commons.math4.stat.inference; -import java.math.BigDecimal; import java.math.RoundingMode; import java.util.Arrays; diff --git a/src/main/java/org/apache/commons/math4/stat/regression/RegressionResults.java b/src/main/java/org/apache/commons/math4/stat/regression/RegressionResults.java index 28e05fca0..9f462ed81 100644 --- a/src/main/java/org/apache/commons/math4/stat/regression/RegressionResults.java +++ b/src/main/java/org/apache/commons/math4/stat/regression/RegressionResults.java @@ -21,7 +21,6 @@ import java.util.Arrays; import org.apache.commons.math4.exception.OutOfRangeException; import org.apache.commons.math4.util.FastMath; -import org.apache.commons.math4.util.MathArrays; /** * Results of a Multiple Linear Regression model fit.