You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2022/01/01 12:26:08 UTC

[commons-math] branch master updated: Unused "import" statements.

This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git


The following commit(s) were added to refs/heads/master by this push:
     new 2f48fbb  Unused "import" statements.
2f48fbb is described below

commit 2f48fbb5f9888279a9682de6e04f10c5ad7859ea
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Sat Jan 1 13:25:44 2022 +0100

    Unused "import" statements.
---
 .../apache/commons/math4/legacy/optim/linear/LinearConstraint.java   | 1 -
 .../commons/math4/legacy/optim/linear/LinearObjectiveFunction.java   | 1 -
 .../org/apache/commons/math4/legacy/optim/linear/SimplexTableau.java | 1 -
 .../math4/legacy/stat/descriptive/rank/RandomPivotingStrategy.java   | 4 ----
 .../differentiation/FiniteDifferencesDifferentiatorTest.java         | 1 -
 .../math4/legacy/analysis/differentiation/SparseGradientTest.java    | 1 -
 .../math4/legacy/analysis/polynomials/PolynomialFunctionTest.java    | 1 -
 .../math4/legacy/distribution/RealDistributionAbstractTest.java      | 5 -----
 .../org/apache/commons/math4/legacy/optim/PointValuePairTest.java    | 1 -
 .../apache/commons/math4/legacy/optim/linear/SimplexTableauTest.java | 1 -
 .../legacy/stat/descriptive/moment/VectorialCovarianceTest.java      | 1 -
 .../math4/legacy/stat/descriptive/moment/VectorialMeanTest.java      | 1 -
 12 files changed, 19 deletions(-)

diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/linear/LinearConstraint.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/linear/LinearConstraint.java
index 5921d47..3ea1fbf 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/linear/LinearConstraint.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/linear/LinearConstraint.java
@@ -17,7 +17,6 @@
 package org.apache.commons.math4.legacy.optim.linear;
 
 import org.apache.commons.math4.legacy.linear.ArrayRealVector;
-import org.apache.commons.math4.legacy.linear.MatrixUtils;
 import org.apache.commons.math4.legacy.linear.RealVector;
 
 /**
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/linear/LinearObjectiveFunction.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/linear/LinearObjectiveFunction.java
index 5148e62..53ee6c9 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/linear/LinearObjectiveFunction.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/linear/LinearObjectiveFunction.java
@@ -18,7 +18,6 @@ package org.apache.commons.math4.legacy.optim.linear;
 
 import org.apache.commons.math4.legacy.analysis.MultivariateFunction;
 import org.apache.commons.math4.legacy.linear.ArrayRealVector;
-import org.apache.commons.math4.legacy.linear.MatrixUtils;
 import org.apache.commons.math4.legacy.linear.RealVector;
 import org.apache.commons.math4.legacy.optim.OptimizationData;
 
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/linear/SimplexTableau.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/linear/SimplexTableau.java
index 6ffcbb1..26b0d52 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/linear/SimplexTableau.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/linear/SimplexTableau.java
@@ -26,7 +26,6 @@ import java.util.TreeSet;
 
 import org.apache.commons.math4.legacy.exception.DimensionMismatchException;
 import org.apache.commons.math4.legacy.linear.Array2DRowRealMatrix;
-import org.apache.commons.math4.legacy.linear.MatrixUtils;
 import org.apache.commons.math4.legacy.linear.RealVector;
 import org.apache.commons.math4.legacy.optim.PointValuePair;
 import org.apache.commons.math4.legacy.optim.nonlinear.scalar.GoalType;
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/rank/RandomPivotingStrategy.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/rank/RandomPivotingStrategy.java
index 3551ff12..044c7cd 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/rank/RandomPivotingStrategy.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/rank/RandomPivotingStrategy.java
@@ -16,13 +16,9 @@
  */
 package org.apache.commons.math4.legacy.stat.descriptive.rank;
 
-import java.io.IOException;
-import java.io.ObjectOutputStream;
-import java.io.ObjectInputStream;
 import org.apache.commons.math4.legacy.core.MathArrays;
 import org.apache.commons.rng.RestorableUniformRandomProvider;
 import org.apache.commons.rng.simple.RandomSource;
-import org.apache.commons.rng.core.RandomProviderDefaultState;
 
 /**
  * A strategy of selecting random index between begin and end indices.
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/differentiation/FiniteDifferencesDifferentiatorTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/differentiation/FiniteDifferencesDifferentiatorTest.java
index a49611a..764c999 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/differentiation/FiniteDifferencesDifferentiatorTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/differentiation/FiniteDifferencesDifferentiatorTest.java
@@ -17,7 +17,6 @@
 
 package org.apache.commons.math4.legacy.analysis.differentiation;
 
-import org.apache.commons.math4.legacy.TestUtils;
 import org.apache.commons.math4.legacy.analysis.QuinticFunction;
 import org.apache.commons.math4.legacy.analysis.UnivariateFunction;
 import org.apache.commons.math4.legacy.analysis.UnivariateMatrixFunction;
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/differentiation/SparseGradientTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/differentiation/SparseGradientTest.java
index 72e22ee..2a46491 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/differentiation/SparseGradientTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/differentiation/SparseGradientTest.java
@@ -20,7 +20,6 @@ import java.util.Arrays;
 import java.util.List;
 
 import org.apache.commons.math4.legacy.field.ExtendedFieldElementAbstractTest;
-import org.apache.commons.math4.legacy.TestUtils;
 import org.apache.commons.math4.legacy.analysis.polynomials.PolynomialFunction;
 import org.apache.commons.rng.UniformRandomProvider;
 import org.apache.commons.rng.simple.RandomSource;
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/polynomials/PolynomialFunctionTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/polynomials/PolynomialFunctionTest.java
index 7bab530..7bc78b6 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/polynomials/PolynomialFunctionTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/analysis/polynomials/PolynomialFunctionTest.java
@@ -16,7 +16,6 @@
  */
 package org.apache.commons.math4.legacy.analysis.polynomials;
 
-import org.apache.commons.math4.legacy.TestUtils;
 import org.apache.commons.math4.core.jdkmath.JdkMath;
 import org.junit.Assert;
 import org.junit.Test;
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/distribution/RealDistributionAbstractTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/distribution/RealDistributionAbstractTest.java
index 6e76e73..b31b249 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/distribution/RealDistributionAbstractTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/distribution/RealDistributionAbstractTest.java
@@ -19,11 +19,6 @@ package org.apache.commons.math4.legacy.distribution;
 
 import java.util.ArrayList;
 import java.util.Collections;
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
 
 import org.apache.commons.statistics.distribution.ContinuousDistribution;
 import org.apache.commons.math4.legacy.TestUtils;
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/PointValuePairTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/PointValuePairTest.java
index 18f1833..16abe5a 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/PointValuePairTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/PointValuePairTest.java
@@ -16,7 +16,6 @@
  */
 package org.apache.commons.math4.legacy.optim;
 
-import org.apache.commons.math4.legacy.TestUtils;
 import org.junit.Assert;
 import org.junit.Test;
 
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/linear/SimplexTableauTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/linear/SimplexTableauTest.java
index bec3f35..1fa9b15 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/linear/SimplexTableauTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/linear/SimplexTableauTest.java
@@ -19,7 +19,6 @@ package org.apache.commons.math4.legacy.optim.linear;
 import java.util.ArrayList;
 import java.util.Collection;
 
-import org.apache.commons.math4.legacy.TestUtils;
 import org.apache.commons.math4.legacy.optim.nonlinear.scalar.GoalType;
 import org.junit.Assert;
 import org.junit.Test;
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/stat/descriptive/moment/VectorialCovarianceTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/stat/descriptive/moment/VectorialCovarianceTest.java
index 5791d88..b16bd2f 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/stat/descriptive/moment/VectorialCovarianceTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/stat/descriptive/moment/VectorialCovarianceTest.java
@@ -17,7 +17,6 @@
 
 package org.apache.commons.math4.legacy.stat.descriptive.moment;
 
-import org.apache.commons.math4.legacy.TestUtils;
 import org.apache.commons.math4.legacy.exception.DimensionMismatchException;
 import org.apache.commons.math4.legacy.linear.RealMatrix;
 import org.junit.Test;
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/stat/descriptive/moment/VectorialMeanTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/stat/descriptive/moment/VectorialMeanTest.java
index c81304e..5aaa341 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/stat/descriptive/moment/VectorialMeanTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/stat/descriptive/moment/VectorialMeanTest.java
@@ -17,7 +17,6 @@
 
 package org.apache.commons.math4.legacy.stat.descriptive.moment;
 
-import org.apache.commons.math4.legacy.TestUtils;
 import org.apache.commons.math4.legacy.exception.DimensionMismatchException;
 import org.junit.Test;
 import org.junit.Assert;