This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch 1.x in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git
The following commit(s) were added to refs/heads/1.x by this push: new f890af88 Don't initialize AtomicInteger to its default value f890af88 is described below commit f890af882910a2f54753363ff2eedfbc798e1921 Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Sun Aug 17 09:38:29 2025 -0400 Don't initialize AtomicInteger to its default value --- src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java b/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java index 12551761..d13904aa 100644 --- a/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java +++ b/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java @@ -63,7 +63,7 @@ public class DiskFileItem implements FileItem { /** * Counter used in unique identifier generation. */ - private static final AtomicInteger COUNTER = new AtomicInteger(0); + private static final AtomicInteger COUNTER = new AtomicInteger(); /** * Default content charset to be used when no explicit charset