You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/02/09 23:17:39 UTC
(commons-fileupload) branch master updated: Simplify
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git
The following commit(s) were added to refs/heads/master by this push:
new 542fa233 Simplify
542fa233 is described below
commit 542fa2335b0bec7b81093391b816dbb8bed30899
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Feb 9 18:17:35 2024 -0500
Simplify
---
.../src/main/java/org/apache/commons/fileupload2/core/DiskFileItem.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/DiskFileItem.java b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/DiskFileItem.java
index b2f9294c..77d70d54 100644
--- a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/DiskFileItem.java
+++ b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/DiskFileItem.java
@@ -123,7 +123,7 @@ public final class DiskFileItem implements FileItem<DiskFileItem> {
/**
* Counter used in unique identifier generation.
*/
- private static final AtomicInteger COUNTER = new AtomicInteger(0);
+ private static final AtomicInteger COUNTER = new AtomicInteger();
/**
* Constructs a new {@link Builder}.