Gracefully close resources in test if first line in setup causes a problem

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1834412 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2018-06-26 10:12:52 +00:00
parent f509d1deae
commit 602b6d451e

View File

@ -43,7 +43,9 @@ public class TestXDGFVisioExtractor {
@After
public void closeResoures() throws IOException {
xml.close();
if(xml != null) {
xml.close();
}
pkg.close();
}