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


The following commit(s) were added to refs/heads/master by this push:
     new ab21dfeea Rename parameter of `ProxyOutputStream.write(int)` (#740)
ab21dfeea is described below

commit ab21dfeeafd0e4434703763a8bb037e5c2666ab4
Author: Jesse Glick <jgl...@cloudbees.com>
AuthorDate: Tue Apr 15 15:53:08 2025 -0400

    Rename parameter of `ProxyOutputStream.write(int)` (#740)
---
 src/main/java/org/apache/commons/io/output/ProxyOutputStream.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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 1be01a424..c6e77412e 100644
--- a/src/main/java/org/apache/commons/io/output/ProxyOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/ProxyOutputStream.java
@@ -219,14 +219,14 @@ public void write(final byte[] bts, final int st, final 
int end) throws IOExcept
 
     /**
      * Invokes the delegate's {@code write(int)} method.
-     * @param idx the byte to write
+     * @param b the byte to write
      * @throws IOException if an I/O error occurs.
      */
     @Override
-    public void write(final int idx) throws IOException {
+    public void write(final int b) throws IOException {
         try {
             beforeWrite(1);
-            out.write(idx);
+            out.write(b);
             afterWrite(1);
         } catch (final IOException e) {
             handleIOException(e);

Reply via email to