This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 02250f736ca1150f85de87c654f32a837f2d0cf5 Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Sep 15 22:54:26 2023 +0100 Better Javadoc / comments --- java/org/apache/tomcat/util/http/fileupload/disk/DiskFileItem.java | 4 ++-- .../apache/tomcat/util/http/fileupload/disk/DiskFileItemFactory.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java/org/apache/tomcat/util/http/fileupload/disk/DiskFileItem.java b/java/org/apache/tomcat/util/http/fileupload/disk/DiskFileItem.java index 225ce89d30..c0a2bd8617 100644 --- a/java/org/apache/tomcat/util/http/fileupload/disk/DiskFileItem.java +++ b/java/org/apache/tomcat/util/http/fileupload/disk/DiskFileItem.java @@ -53,8 +53,8 @@ import org.apache.tomcat.util.http.fileupload.util.Streams; * {@link #getInputStream()} and process the file without attempting to load * it into memory, which may come handy with large files. * - * <p>Temporary files, which are created for file items, should be - * deleted later on.</p> + * <p>Temporary files, which are created for file items, will be deleted when + * the associated request is recycled.</p> * * @since 1.1 */ diff --git a/java/org/apache/tomcat/util/http/fileupload/disk/DiskFileItemFactory.java b/java/org/apache/tomcat/util/http/fileupload/disk/DiskFileItemFactory.java index 8ec7f9df55..ce1eec2f24 100644 --- a/java/org/apache/tomcat/util/http/fileupload/disk/DiskFileItemFactory.java +++ b/java/org/apache/tomcat/util/http/fileupload/disk/DiskFileItemFactory.java @@ -51,8 +51,8 @@ import org.apache.tomcat.util.http.fileupload.FileItemFactory; * may be used. * </p> * - * <p>Temporary files, which are created for file items, should be - * deleted later on.</p> + * <p>Temporary files, which are created for file items, will be deleted when + * the associated request is recycled.</p> * * @since 1.1 */ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org