You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2014/11/11 16:05:32 UTC
svn commit: r1638131 - in /commons/proper/fileupload/trunk/src:
changes/changes.xml site/xdoc/using.xml
Author: tn
Date: Tue Nov 11 15:05:32 2014
New Revision: 1638131
URL: http://svn.apache.org/r1638131
Log:
[FILEUPLOAD-234] Fix section "Resource cleanup" of the user guide.
Modified:
commons/proper/fileupload/trunk/src/changes/changes.xml
commons/proper/fileupload/trunk/src/site/xdoc/using.xml
Modified: commons/proper/fileupload/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/changes/changes.xml?rev=1638131&r1=1638130&r2=1638131&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/changes/changes.xml (original)
+++ commons/proper/fileupload/trunk/src/changes/changes.xml Tue Nov 11 15:05:32 2014
@@ -44,6 +44,7 @@ The <action> type attribute can be add,u
<body>
<release version="1.4" date="TBA" description="TBA">
+ <action issue="FILEUPLOAD-234" dev="tn" type="fix">Fix section "Resource cleanup" of the user guide</action>
<action issue="FILEUPLOAD-237" dev="tn" type="fix">Fix streaming example: use FileItem.getInputStream() instead of openStream()</action>
<action issue="FILEUPLOAD-248" dev="ecki" type="fix">DiskFileItem might suppress critical IOExceptions on rename - use FileUtil.move instead</action>
<action issue="FILEUPLOAD-251" dev="sebb" type="fix">DiskFileItem#getTempFile() is broken</action>
Modified: commons/proper/fileupload/trunk/src/site/xdoc/using.xml
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/site/xdoc/using.xml?rev=1638131&r1=1638130&r2=1638131&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/site/xdoc/using.xml (original)
+++ commons/proper/fileupload/trunk/src/site/xdoc/using.xml Tue Nov 11 15:05:32 2014
@@ -284,8 +284,8 @@ byte[] data = item.get();
</p>
<p>
Such temporary files are deleted automatically, if they are no longer
- used (more precisely, if the corresponding instance of <code>java.io.File</code>
- is garbage collected. This is done silently by the <code>org.apache.commons.io.FileCleaner</code>
+ used (more precisely, if the corresponding instance of <code>DiskFileItem</code>
+ is garbage collected. This is done silently by the <code>org.apache.commons.io.FileCleanerTracker</code>
class, which starts a reaper thread.
</p>
<p>