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 2023/06/06 14:29:17 UTC
[commons-fileupload] 05/09: Better literal
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
commit ce435053933832fcd429f86bd88e65adbe47b9ff
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jun 6 08:54:46 2023 -0400
Better literal
---
.../java/org/apache/commons/fileupload2/disk/DiskFileItemFactory.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/disk/DiskFileItemFactory.java b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/disk/DiskFileItemFactory.java
index 399c19a..18e66f3 100644
--- a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/disk/DiskFileItemFactory.java
+++ b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/disk/DiskFileItemFactory.java
@@ -56,7 +56,7 @@ public class DiskFileItemFactory implements FileItemFactory {
/**
* The default threshold above which uploads will be stored on disk.
*/
- public static final int DEFAULT_SIZE_THRESHOLD = 10240;
+ public static final int DEFAULT_SIZE_THRESHOLD = 10_240;
/**
* The directory in which uploaded files will be stored, if stored on disk.