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-io.git

commit b4d74023d2dfa8e723936b103958fae0f8eff45b
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Nov 8 17:32:03 2024 -0500

    Better parameter name and comment
---
 src/main/java/org/apache/commons/io/input/ProxyReader.java        | 8 ++++----
 src/main/java/org/apache/commons/io/output/ProxyOutputStream.java | 8 ++++----
 src/main/java/org/apache/commons/io/output/ProxyWriter.java       | 8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/main/java/org/apache/commons/io/input/ProxyReader.java 
b/src/main/java/org/apache/commons/io/input/ProxyReader.java
index f05f5b0b3..8873d2fda 100644
--- a/src/main/java/org/apache/commons/io/input/ProxyReader.java
+++ b/src/main/java/org/apache/commons/io/input/ProxyReader.java
@@ -40,11 +40,11 @@ public abstract class ProxyReader extends FilterReader {
     /**
      * Constructs a new ProxyReader.
      *
-     * @param proxy  the Reader to delegate to
+     * @param delegate  the Reader to delegate to
      */
-    public ProxyReader(final Reader proxy) {
-        super(proxy);
-        // the proxy is stored in a protected superclass variable named 'in'
+    public ProxyReader(final Reader delegate) {
+        // the delegate is stored in a protected superclass variable named 'in'
+        super(delegate);
     }
 
     /**
diff --git a/src/main/java/org/apache/commons/io/output/ProxyOutputStream.java 
b/src/main/java/org/apache/commons/io/output/ProxyOutputStream.java
index b73f41213..303d02943 100644
--- a/src/main/java/org/apache/commons/io/output/ProxyOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/ProxyOutputStream.java
@@ -37,11 +37,11 @@ public class ProxyOutputStream extends FilterOutputStream {
     /**
      * Constructs a new ProxyOutputStream.
      *
-     * @param proxy  the OutputStream to delegate to
+     * @param delegate  the OutputStream to delegate to
      */
-    public ProxyOutputStream(final OutputStream proxy) {
-        super(proxy);
-        // the proxy is stored in a protected superclass variable named 'out'
+    public ProxyOutputStream(final OutputStream delegate) {
+        // the delegate is stored in a protected superclass variable named 
'out'
+        super(delegate);
     }
 
     /**
diff --git a/src/main/java/org/apache/commons/io/output/ProxyWriter.java 
b/src/main/java/org/apache/commons/io/output/ProxyWriter.java
index b67b22a84..2d56afb68 100644
--- a/src/main/java/org/apache/commons/io/output/ProxyWriter.java
+++ b/src/main/java/org/apache/commons/io/output/ProxyWriter.java
@@ -33,11 +33,11 @@ public class ProxyWriter extends FilterWriter {
     /**
      * Constructs a new ProxyWriter.
      *
-     * @param proxy  the Writer to delegate to
+     * @param delegate  the Writer to delegate to
      */
-    public ProxyWriter(final Writer proxy) {
-        super(proxy);
-        // the proxy is stored in a protected superclass variable named 'out'
+    public ProxyWriter(final Writer delegate) {
+        // the delegate is stored in a protected superclass variable named 
'out'
+        super(delegate);
     }
 
     /**

Reply via email to