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/02 15:47:07 UTC

[commons-fileupload] 02/08: Better parameter name

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 c1cadad09069e46c07384bb1cdb5412892786398
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Apr 2 09:45:28 2023 -0400

    Better parameter name
---
 .../org/apache/commons/fileupload2/pub/FileUploadIOException.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/fileupload2/pub/FileUploadIOException.java b/src/main/java/org/apache/commons/fileupload2/pub/FileUploadIOException.java
index 7f25d7c..3dc6e6c 100644
--- a/src/main/java/org/apache/commons/fileupload2/pub/FileUploadIOException.java
+++ b/src/main/java/org/apache/commons/fileupload2/pub/FileUploadIOException.java
@@ -42,11 +42,11 @@ public class FileUploadIOException extends IOException {
      * Creates a {@code FileUploadIOException} with the
      * given cause.
      *
-     * @param pCause The exceptions cause, if any, or null.
+     * @param cause The exceptions cause, if any, or null.
      */
-    public FileUploadIOException(final FileUploadException pCause) {
+    public FileUploadIOException(final FileUploadException cause) {
         // We're not doing super(pCause) cause of 1.3 compatibility.
-        cause = pCause;
+        this.cause = cause;
     }
 
     /**