mirror of https://github.com/apache/poi.git
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:
parent
53ae3ba4d1
commit
e11b371597
|
@ -43,7 +43,9 @@ public class TestXDGFVisioExtractor {
|
|||
|
||||
@After
|
||||
public void closeResoures() throws IOException {
|
||||
xml.close();
|
||||
if(xml != null) {
|
||||
xml.close();
|
||||
}
|
||||
pkg.close();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue