We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 700624d commit 48f6d3fCopy full SHA for 48f6d3f
1 file changed
src/main/java/org/apache/commons/io/output/ProxyWriter.java
@@ -122,19 +122,19 @@ public void write(final int c) throws IOException {
122
123
/**
124
* Invokes the delegate's <code>write(char[])</code> method.
125
- * @param chr the characters to write
+ * @param cbuf the characters to write
126
* @throws IOException if an I/O error occurs
127
*/
128
@Override
129
- public void write(final char[] chr) throws IOException {
+ public void write(final char[] cbuf) throws IOException {
130
try {
131
int len = 0;
132
- if (chr != null) {
133
- len = chr.length;
+ if (cbuf != null) {
+ len = cbuf.length;
134
}
135
136
beforeWrite(len);
137
- out.write(chr);
+ out.write(cbuf);
138
afterWrite(len);
139
} catch (final IOException e) {
140
handleIOException(e);
0 commit comments