]> source.dussan.org Git - poi.git/commit
Use IOUtils.closeQuietly() in more places
authorDominik Stadler <centic@apache.org>
Wed, 5 Oct 2016 20:00:07 +0000 (20:00 +0000)
committerDominik Stadler <centic@apache.org>
Wed, 5 Oct 2016 20:00:07 +0000 (20:00 +0000)
commite65020bb72ffb7f8ef0003758137b9513ad91ef8
treef4d3e5cd2d961a08a30e7ebce5d5735f45215228
parentb66689d2b026280202c04d3a52cb33199abef2ab
Use IOUtils.closeQuietly() in more places
Avoid two possible file-handle leaks when opening files fails with an exception
Make tests close resources properly to not spam the output when running with file-leak-detector

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1763485 13f79535-47bb-0310-9956-ffa450edef68
src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java
src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestHWPFWrite.java
src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java
src/testcases/org/apache/poi/poifs/filesystem/TestNPOIFSFileSystem.java
src/testcases/org/apache/poi/ss/usermodel/BaseTestCell.java