poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fannin...@apache.org
Subject svn commit: r1857462 - /poi/trunk/src/java/org/apache/poi/poifs/filesystem/TempFilePOIFSFileSystem.java
Date Sat, 13 Apr 2019 10:08:55 GMT
Author: fanningpj
Date: Sat Apr 13 10:08:55 2019
New Revision: 1857462

URL: http://svn.apache.org/viewvc?rev=1857462&view=rev
Log:
[bug-63344] add TempFilePOIFSFileSystem

Modified:
    poi/trunk/src/java/org/apache/poi/poifs/filesystem/TempFilePOIFSFileSystem.java

Modified: poi/trunk/src/java/org/apache/poi/poifs/filesystem/TempFilePOIFSFileSystem.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/poifs/filesystem/TempFilePOIFSFileSystem.java?rev=1857462&r1=1857461&r2=1857462&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/poifs/filesystem/TempFilePOIFSFileSystem.java (original)
+++ poi/trunk/src/java/org/apache/poi/poifs/filesystem/TempFilePOIFSFileSystem.java Sat Apr
13 10:08:55 2019
@@ -26,7 +26,7 @@ public class TempFilePOIFSFileSystem ext
     }
 
     public void close() throws IOException {
-        tempFile.delete();
+        if (tempFile != null) tempFile.delete();
         super.close();
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message