Skip to content

Commit b4d7402

Browse files
committed
Better parameter name and comment
1 parent 4652d42 commit b4d7402

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

src/main/java/org/apache/commons/io/input/ProxyReader.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ public abstract class ProxyReader extends FilterReader {
4040
/**
4141
* Constructs a new ProxyReader.
4242
*
43-
* @param proxy the Reader to delegate to
43+
* @param delegate the Reader to delegate to
4444
*/
45-
public ProxyReader(final Reader proxy) {
46-
super(proxy);
47-
// the proxy is stored in a protected superclass variable named 'in'
45+
public ProxyReader(final Reader delegate) {
46+
// the delegate is stored in a protected superclass variable named 'in'
47+
super(delegate);
4848
}
4949

5050
/**

src/main/java/org/apache/commons/io/output/ProxyOutputStream.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ public class ProxyOutputStream extends FilterOutputStream {
3737
/**
3838
* Constructs a new ProxyOutputStream.
3939
*
40-
* @param proxy the OutputStream to delegate to
40+
* @param delegate the OutputStream to delegate to
4141
*/
42-
public ProxyOutputStream(final OutputStream proxy) {
43-
super(proxy);
44-
// the proxy is stored in a protected superclass variable named 'out'
42+
public ProxyOutputStream(final OutputStream delegate) {
43+
// the delegate is stored in a protected superclass variable named 'out'
44+
super(delegate);
4545
}
4646

4747
/**

src/main/java/org/apache/commons/io/output/ProxyWriter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ public class ProxyWriter extends FilterWriter {
3333
/**
3434
* Constructs a new ProxyWriter.
3535
*
36-
* @param proxy the Writer to delegate to
36+
* @param delegate the Writer to delegate to
3737
*/
38-
public ProxyWriter(final Writer proxy) {
39-
super(proxy);
40-
// the proxy is stored in a protected superclass variable named 'out'
38+
public ProxyWriter(final Writer delegate) {
39+
// the delegate is stored in a protected superclass variable named 'out'
40+
super(delegate);
4141
}
4242

4343
/**

0 commit comments

Comments
 (0)