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

commit cf6ec38d2bd1d3a9ec26407b9686e0cb19ed3ce3
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Sun May 4 15:40:45 2025 -0400

    Better private name
---
 .../java/org/apache/commons/fileupload/FileUploadBase.java     | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/apache/commons/fileupload/FileUploadBase.java 
b/src/main/java/org/apache/commons/fileupload/FileUploadBase.java
index 1e48b56d..d505f35f 100644
--- a/src/main/java/org/apache/commons/fileupload/FileUploadBase.java
+++ b/src/main/java/org/apache/commons/fileupload/FileUploadBase.java
@@ -100,7 +100,7 @@ public abstract class FileUploadBase {
             /**
              * The file items input stream.
              */
-            private final InputStream stream;
+            private final InputStream inputStream;
 
             /**
              * Whether the file item was already opened.
@@ -155,7 +155,7 @@ public abstract class FileUploadBase {
                         }
                     };
                 }
-                stream = istream;
+                inputStream = istream;
             }
 
             /**
@@ -164,7 +164,7 @@ public abstract class FileUploadBase {
              * @throws IOException An I/O error occurred.
              */
             void close() throws IOException {
-                stream.close();
+                inputStream.close();
             }
 
             /**
@@ -235,10 +235,10 @@ public abstract class FileUploadBase {
                     throw new IllegalStateException(
                             "The stream was already opened.");
                 }
-                if (((Closeable) stream).isClosed()) {
+                if (((Closeable) inputStream).isClosed()) {
                     throw new FileItemStream.ItemSkippedException();
                 }
-                return stream;
+                return inputStream;
             }
 
             /**

Reply via email to