Author: fanningpj
Date: Mon Dec 30 21:46:01 2024
New Revision: 1922787

URL: http://svn.apache.org/viewvc?rev=1922787&view=rev
Log:
try to fix temp file docs

Modified:
    
poi/trunk/poi/src/main/java/org/apache/poi/util/DefaultTempFileCreationStrategy.java

Modified: 
poi/trunk/poi/src/main/java/org/apache/poi/util/DefaultTempFileCreationStrategy.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/util/DefaultTempFileCreationStrategy.java?rev=1922787&r1=1922786&r2=1922787&view=diff
==============================================================================
--- 
poi/trunk/poi/src/main/java/org/apache/poi/util/DefaultTempFileCreationStrategy.java
 (original)
+++ 
poi/trunk/poi/src/main/java/org/apache/poi/util/DefaultTempFileCreationStrategy.java
 Mon Dec 30 21:46:01 2024
@@ -30,12 +30,14 @@ import java.util.concurrent.locks.Reentr
 
 /**
  * Default implementation of the {@link TempFileCreationStrategy} used by 
{@link TempFile}:
- * Files are collected into one directory and by default are deleted on exit 
from the VM.
+ * Files are collected into one directory.
  * Files may be manually deleted by user prior to JVM exit.
- * Files can be kept by defining the system property {@link 
#DELETE_FILES_ON_EXIT}.
+ * You can define the system property {@link #DELETE_FILES_ON_EXIT} and set to 
true if you want to
+ * delete any stray files on clean JVM exit.
  *
- * Each file is registered for deletion with the JVM and the temporary 
directory is not deleted
- * after the JVM exits. Files that are created in the poifiles directory 
outside
+ * The POI code should tidy up temp files when it no longer needs them.
+ * The temporary directory is not deleted after the JVM exits.
+ * Files that are created in the poifiles directory outside
  * the control of DefaultTempFileCreationStrategy are not deleted.
  * See {@link TempFileCreationStrategy} for better strategies for long-running
  * processes or limited temporary storage.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to