Use the same names for arguments as the JDK, less confusing.
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 67c97e8..c234079 100644
--- a/src/main/java/org/apache/commons/io/output/ProxyWriter.java
+++ b/src/main/java/org/apache/commons/io/output/ProxyWriter.java
@@ -122,19 +122,19 @@ public void write(final int c) throws IOException {
/**
* Invokes the delegate's <code>write(char[])</code> method.
- * @param chr the characters to write
+ * @param cbuf the characters to write
* @throws IOException if an I/O error occurs
*/
@Override
- public void write(final char[] chr) throws IOException {
+ public void write(final char[] cbuf) throws IOException {
try {
int len = 0;
- if (chr != null) {
- len = chr.length;
+ if (cbuf != null) {
+ len = cbuf.length;
}
beforeWrite(len);
- out.write(chr);
+ out.write(cbuf);
afterWrite(len);
} catch (final IOException e) {
handleIOException(e);