From 72db912bd8eb4906049e39dbfa50d931c45d90c2 Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Mon, 1 Jun 2009 12:48:32 +0000 Subject: [PATCH] removed unneeded import statements git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780637 13f79535-47bb-0310-9956-ffa450edef68 --- .../AbstractStorelessUnivariateStatistic.java | 1 - .../commons/math/linear/DenseFieldMatrixTest.java | 6 ------ .../commons/math/linear/DenseRealMatrixTest.java | 14 ++++---------- .../commons/math/linear/FieldMatrixImplTest.java | 7 ------- .../commons/math/linear/FieldVectorImplTest.java | 6 ------ .../commons/math/linear/RealMatrixImplTest.java | 7 ------- .../commons/math/linear/RealVectorImplTest.java | 10 ++-------- .../commons/math/linear/SparseRealMatrixTest.java | 7 ------- .../commons/math/linear/SparseRealVectorTest.java | 10 ++-------- 9 files changed, 8 insertions(+), 60 deletions(-) diff --git a/src/java/org/apache/commons/math/stat/descriptive/AbstractStorelessUnivariateStatistic.java b/src/java/org/apache/commons/math/stat/descriptive/AbstractStorelessUnivariateStatistic.java index 7c8904f15..ea6611962 100644 --- a/src/java/org/apache/commons/math/stat/descriptive/AbstractStorelessUnivariateStatistic.java +++ b/src/java/org/apache/commons/math/stat/descriptive/AbstractStorelessUnivariateStatistic.java @@ -18,7 +18,6 @@ package org.apache.commons.math.stat.descriptive; import org.apache.commons.math.MathRuntimeException; import org.apache.commons.math.util.MathUtils; -import java.io.Serializable; /** * diff --git a/src/test/org/apache/commons/math/linear/DenseFieldMatrixTest.java b/src/test/org/apache/commons/math/linear/DenseFieldMatrixTest.java index 24f044ed4..93ca20ec4 100644 --- a/src/test/org/apache/commons/math/linear/DenseFieldMatrixTest.java +++ b/src/test/org/apache/commons/math/linear/DenseFieldMatrixTest.java @@ -16,12 +16,6 @@ */ package org.apache.commons.math.linear; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; import java.util.Arrays; import java.util.Random; diff --git a/src/test/org/apache/commons/math/linear/DenseRealMatrixTest.java b/src/test/org/apache/commons/math/linear/DenseRealMatrixTest.java index 78e53cff4..20edd38d0 100644 --- a/src/test/org/apache/commons/math/linear/DenseRealMatrixTest.java +++ b/src/test/org/apache/commons/math/linear/DenseRealMatrixTest.java @@ -16,23 +16,17 @@ */ package org.apache.commons.math.linear; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; import java.util.Arrays; import java.util.Random; -import org.apache.commons.math.TestUtils; -import org.apache.commons.math.linear.decomposition.LUDecompositionImpl; -import org.apache.commons.math.linear.decomposition.NonSquareMatrixException; - import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; +import org.apache.commons.math.TestUtils; +import org.apache.commons.math.linear.decomposition.LUDecompositionImpl; +import org.apache.commons.math.linear.decomposition.NonSquareMatrixException; + /** * Test cases for the {@link DenseRealMatrix} class. * diff --git a/src/test/org/apache/commons/math/linear/FieldMatrixImplTest.java b/src/test/org/apache/commons/math/linear/FieldMatrixImplTest.java index 6e42d7d73..9d7254f61 100644 --- a/src/test/org/apache/commons/math/linear/FieldMatrixImplTest.java +++ b/src/test/org/apache/commons/math/linear/FieldMatrixImplTest.java @@ -16,13 +16,6 @@ */ package org.apache.commons.math.linear; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; - import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; diff --git a/src/test/org/apache/commons/math/linear/FieldVectorImplTest.java b/src/test/org/apache/commons/math/linear/FieldVectorImplTest.java index b6d57ebb3..43197255a 100644 --- a/src/test/org/apache/commons/math/linear/FieldVectorImplTest.java +++ b/src/test/org/apache/commons/math/linear/FieldVectorImplTest.java @@ -16,12 +16,6 @@ */ package org.apache.commons.math.linear; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; import java.io.Serializable; import java.lang.reflect.Array; diff --git a/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java b/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java index df81c2ad1..7ea01a2ba 100644 --- a/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java +++ b/src/test/org/apache/commons/math/linear/RealMatrixImplTest.java @@ -16,13 +16,6 @@ */ package org.apache.commons.math.linear; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; - import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; diff --git a/src/test/org/apache/commons/math/linear/RealVectorImplTest.java b/src/test/org/apache/commons/math/linear/RealVectorImplTest.java index 8db19a426..8b67f3732 100644 --- a/src/test/org/apache/commons/math/linear/RealVectorImplTest.java +++ b/src/test/org/apache/commons/math/linear/RealVectorImplTest.java @@ -16,20 +16,14 @@ */ package org.apache.commons.math.linear; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; import java.io.Serializable; -import org.apache.commons.math.TestUtils; - import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; +import org.apache.commons.math.TestUtils; + /** * Test cases for the {@link RealVectorImpl} class. * diff --git a/src/test/org/apache/commons/math/linear/SparseRealMatrixTest.java b/src/test/org/apache/commons/math/linear/SparseRealMatrixTest.java index 01ea24752..ff537e7c6 100644 --- a/src/test/org/apache/commons/math/linear/SparseRealMatrixTest.java +++ b/src/test/org/apache/commons/math/linear/SparseRealMatrixTest.java @@ -16,13 +16,6 @@ */ package org.apache.commons.math.linear; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; - import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; diff --git a/src/test/org/apache/commons/math/linear/SparseRealVectorTest.java b/src/test/org/apache/commons/math/linear/SparseRealVectorTest.java index e0b1e352b..272c450fd 100644 --- a/src/test/org/apache/commons/math/linear/SparseRealVectorTest.java +++ b/src/test/org/apache/commons/math/linear/SparseRealVectorTest.java @@ -16,20 +16,14 @@ */ package org.apache.commons.math.linear; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; import java.io.Serializable; -import org.apache.commons.math.TestUtils; - import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; +import org.apache.commons.math.TestUtils; + /** * Test cases for the {@link OpenMapRealVector} class. *