remove some unused imports

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800255 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2017-06-29 08:55:35 +00:00
parent 5f6e2b780a
commit af35e389da
8 changed files with 2 additions and 7 deletions

View File

@ -114,6 +114,7 @@ public class EventExample
fin.close(); fin.close();
// and our document input stream (don't want to leak these!) // and our document input stream (don't want to leak these!)
din.close(); din.close();
poifs.close();
System.out.println("done."); System.out.println("done.");
} }
} }

View File

@ -41,5 +41,6 @@ public class CustomXMLMapping {
System.out.println(xml); System.out.println(xml);
} }
pkg.close(); pkg.close();
wb.close();
} }
} }

View File

@ -17,7 +17,6 @@
package org.apache.poi.ss.excelant.util; package org.apache.poi.ss.excelant.util;
import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;

View File

@ -27,7 +27,6 @@ import org.apache.poi.ss.formula.eval.StringEval;
import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.eval.ValueEval;
import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellType; import org.apache.poi.ss.usermodel.CellType;
import org.apache.poi.util.Internal;
/** /**
* Represents a cell being used for forked evaluation that has had a value set different from the * Represents a cell being used for forked evaluation that has had a value set different from the

View File

@ -18,7 +18,6 @@
package org.apache.poi.ss.usermodel; package org.apache.poi.ss.usermodel;
import org.apache.poi.ss.formula.eval.ErrorEval; import org.apache.poi.ss.formula.eval.ErrorEval;
import org.apache.poi.util.Internal;
import org.apache.poi.util.Removal; import org.apache.poi.util.Removal;
/** /**

View File

@ -19,8 +19,6 @@ package org.apache.poi.ss.usermodel;
import java.util.Map; import java.util.Map;
import org.apache.poi.util.Internal;
/** /**
* Evaluates formula cells.<p/> * Evaluates formula cells.<p/>
* *

View File

@ -34,7 +34,6 @@ import org.apache.poi.openxml4j.opc.PackageAccess;
import org.apache.poi.openxml4j.opc.PackagePart; import org.apache.poi.openxml4j.opc.PackagePart;
import org.apache.poi.openxml4j.opc.PackageRelationship; import org.apache.poi.openxml4j.opc.PackageRelationship;
import org.apache.poi.openxml4j.opc.PackageRelationshipCollection; import org.apache.poi.openxml4j.opc.PackageRelationshipCollection;
import org.apache.poi.poifs.filesystem.DocumentFactoryHelper;
import org.apache.xmlbeans.impl.common.SystemCache; import org.apache.xmlbeans.impl.common.SystemCache;
/** /**

View File

@ -36,7 +36,6 @@ import org.apache.poi.poifs.crypt.ChainingMode;
import org.apache.poi.poifs.crypt.CipherAlgorithm; import org.apache.poi.poifs.crypt.CipherAlgorithm;
import org.apache.poi.poifs.crypt.CryptoFunctions; import org.apache.poi.poifs.crypt.CryptoFunctions;
import org.apache.poi.util.Beta; import org.apache.poi.util.Beta;
import org.apache.poi.util.Internal;
import org.apache.poi.util.POILogFactory; import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger; import org.apache.poi.util.POILogger;
import org.apache.poi.util.TempFile; import org.apache.poi.util.TempFile;