mirror of https://github.com/apache/poi.git
[bug-63344] add TempFilePOIFSFileSystem
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1857462 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bdc3b391fd
commit
924b2c546b
|
@ -26,7 +26,7 @@ public class TempFilePOIFSFileSystem extends POIFSFileSystem {
|
|||
}
|
||||
|
||||
public void close() throws IOException {
|
||||
tempFile.delete();
|
||||
if (tempFile != null) tempFile.delete();
|
||||
super.close();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue