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/04/22 11:58:56 UTC

[commons-fileupload] branch master updated: [FILEUPLOAD-350] use fileName instead of fieldName (#216)

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 bc37d30  [FILEUPLOAD-350] use fileName instead of fieldName (#216)
bc37d30 is described below

commit bc37d30bfc512eaba203dad6d24d3e8216a7333d
Author: Ernesto Reinaldo Barreiro <re...@gmail.com>
AuthorDate: Sat Apr 22 14:58:50 2023 +0300

    [FILEUPLOAD-350] use fileName instead of fieldName (#216)
---
 .../commons/fileupload2/pub/FileUploadByteCountLimitException.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/fileupload2/pub/FileUploadByteCountLimitException.java b/src/main/java/org/apache/commons/fileupload2/pub/FileUploadByteCountLimitException.java
index 2060233..9bc015f 100644
--- a/src/main/java/org/apache/commons/fileupload2/pub/FileUploadByteCountLimitException.java
+++ b/src/main/java/org/apache/commons/fileupload2/pub/FileUploadByteCountLimitException.java
@@ -47,7 +47,7 @@ public class FileUploadByteCountLimitException extends FileUploadSizeException {
      */
     public FileUploadByteCountLimitException(final String message, final long actual, final long permitted, final String fileName, final String fieldName) {
         super(message, permitted, actual);
-        this.fileName = fieldName;
+        this.fileName = fileName;
         this.fieldName = fieldName;
     }