Skip to content

Commit 95c1944

Browse files
committed
Rename parameter to match override
1 parent 8c9c59c commit 95c1944

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,13 @@ protected void handleIOException(final IOException e) throws IOException {
120120

121121
/**
122122
* Invokes the delegate's {@code mark(int)} method.
123-
* @param idx read ahead limit
123+
* @param readAheadLimit read ahead limit
124124
* @throws IOException if an I/O error occurs.
125125
*/
126126
@Override
127-
public synchronized void mark(final int idx) throws IOException {
127+
public synchronized void mark(final int readAheadLimit) throws IOException {
128128
try {
129-
in.mark(idx);
129+
in.mark(readAheadLimit);
130130
} catch (final IOException e) {
131131
handleIOException(e);
132132
}

0 commit comments

Comments
 (0)