From 71ef875c054f25a9f88497c16ea29d70e49e213b Mon Sep 17 00:00:00 2001 From: Yegor Kozlov Date: Mon, 12 Nov 2012 09:54:37 +0000 Subject: clear unused import warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1408236 13f79535-47bb-0310-9956-ffa450edef68 --- src/testcases/org/apache/poi/hssf/model/TestDrawingAggregate.java | 2 -- src/testcases/org/apache/poi/hssf/model/TestDrawingShapes.java | 3 --- src/testcases/org/apache/poi/hssf/model/TestHSSFAnchor.java | 1 - src/testcases/org/apache/poi/hssf/model/TestSheet.java | 1 - src/testcases/org/apache/poi/hssf/record/TestEscherAggregate.java | 2 -- src/testcases/org/apache/poi/hssf/usermodel/HSSFTestHelper.java | 5 ----- src/testcases/org/apache/poi/hssf/usermodel/TestShapeGroup.java | 4 ---- src/testcases/org/apache/poi/hssf/usermodel/TestText.java | 1 - 8 files changed, 19 deletions(-) (limited to 'src/testcases/org/apache') diff --git a/src/testcases/org/apache/poi/hssf/model/TestDrawingAggregate.java b/src/testcases/org/apache/poi/hssf/model/TestDrawingAggregate.java index 9de806cfc7..43cdd8b856 100644 --- a/src/testcases/org/apache/poi/hssf/model/TestDrawingAggregate.java +++ b/src/testcases/org/apache/poi/hssf/model/TestDrawingAggregate.java @@ -43,8 +43,6 @@ import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FilenameFilter; import java.io.IOException; -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; diff --git a/src/testcases/org/apache/poi/hssf/model/TestDrawingShapes.java b/src/testcases/org/apache/poi/hssf/model/TestDrawingShapes.java index dc3711f507..8b84477286 100644 --- a/src/testcases/org/apache/poi/hssf/model/TestDrawingShapes.java +++ b/src/testcases/org/apache/poi/hssf/model/TestDrawingShapes.java @@ -28,9 +28,6 @@ import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.util.HexDump; import java.io.IOException; -import java.util.Arrays; - -import static junit.framework.Assert.assertEquals; /** * @author Evgeniy Berlog diff --git a/src/testcases/org/apache/poi/hssf/model/TestHSSFAnchor.java b/src/testcases/org/apache/poi/hssf/model/TestHSSFAnchor.java index bda65884cd..481196e775 100644 --- a/src/testcases/org/apache/poi/hssf/model/TestHSSFAnchor.java +++ b/src/testcases/org/apache/poi/hssf/model/TestHSSFAnchor.java @@ -21,7 +21,6 @@ import junit.framework.TestCase; import org.apache.poi.ddf.*; import org.apache.poi.hssf.HSSFTestDataSamples; import org.apache.poi.hssf.usermodel.*; -import org.apache.poi.util.HexDump; /** * @author Evgeniy Berlog diff --git a/src/testcases/org/apache/poi/hssf/model/TestSheet.java b/src/testcases/org/apache/poi/hssf/model/TestSheet.java index d898a999ad..57ccf1f6ba 100644 --- a/src/testcases/org/apache/poi/hssf/model/TestSheet.java +++ b/src/testcases/org/apache/poi/hssf/model/TestSheet.java @@ -35,7 +35,6 @@ import org.apache.poi.ss.formula.FormulaShifter; import org.apache.poi.ss.util.CellRangeAddress; import org.apache.poi.util.HexRead; -import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; diff --git a/src/testcases/org/apache/poi/hssf/record/TestEscherAggregate.java b/src/testcases/org/apache/poi/hssf/record/TestEscherAggregate.java index 8f4e9c7d5d..0df5d44f40 100644 --- a/src/testcases/org/apache/poi/hssf/record/TestEscherAggregate.java +++ b/src/testcases/org/apache/poi/hssf/record/TestEscherAggregate.java @@ -20,9 +20,7 @@ package org.apache.poi.hssf.record; import junit.framework.TestCase; import org.apache.poi.ddf.EscherClientDataRecord; import org.apache.poi.ddf.EscherContainerRecord; -import org.apache.poi.ddf.EscherDggRecord; import org.apache.poi.ddf.EscherSpRecord; -import org.apache.poi.hssf.model.DrawingManager2; import org.apache.poi.util.HexDump; import org.apache.poi.util.HexRead; diff --git a/src/testcases/org/apache/poi/hssf/usermodel/HSSFTestHelper.java b/src/testcases/org/apache/poi/hssf/usermodel/HSSFTestHelper.java index 2647578b46..d6b2657858 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/HSSFTestHelper.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/HSSFTestHelper.java @@ -24,11 +24,6 @@ import org.apache.poi.hssf.record.EscherAggregate; import org.apache.poi.hssf.record.ObjRecord; import org.apache.poi.hssf.record.TextObjectRecord; -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; -import java.util.Arrays; -import java.util.Map; - /** * Helper class for HSSF tests that aren't within the * HSSF UserModel package, but need to do internal diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestShapeGroup.java b/src/testcases/org/apache/poi/hssf/usermodel/TestShapeGroup.java index 7b78e21edd..176b39f4c9 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestShapeGroup.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestShapeGroup.java @@ -22,12 +22,8 @@ import org.apache.poi.ddf.EscherContainerRecord; import org.apache.poi.ddf.EscherSpgrRecord; import org.apache.poi.hssf.HSSFTestDataSamples; import org.apache.poi.hssf.record.EscherAggregate; -import org.apache.poi.hssf.record.ObjRecord; import java.lang.reflect.Field; -import java.util.Arrays; -import java.util.HashMap; -import java.util.Map; /** * @author Evgeniy Berlog diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestText.java b/src/testcases/org/apache/poi/hssf/usermodel/TestText.java index 1bbf69f9d4..07c039edd3 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestText.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestText.java @@ -21,7 +21,6 @@ import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; import org.apache.poi.hssf.model.HSSFTestModelHelper; import org.apache.poi.hssf.model.TextboxShape; -import org.apache.poi.hssf.record.CommonObjectDataSubRecord; import org.apache.poi.hssf.record.ObjRecord; import org.apache.poi.hssf.record.TextObjectRecord; -- cgit v1.2.3