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
commit 9a98747c682a7b14b5ab721fa80a59cf7105c46c Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Wed Apr 12 12:55:32 2023 -0400 Normalize parameter name --- .../commons/io/input/BufferedFileChannelInputStream.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/apache/commons/io/input/BufferedFileChannelInputStream.java b/src/main/java/org/apache/commons/io/input/BufferedFileChannelInputStream.java index 80c63060..70f7d5cc 100644 --- a/src/main/java/org/apache/commons/io/input/BufferedFileChannelInputStream.java +++ b/src/main/java/org/apache/commons/io/input/BufferedFileChannelInputStream.java @@ -58,11 +58,11 @@ public final class BufferedFileChannelInputStream extends InputStream { * Constructs a new instance for the given File and buffer size. * * @param file The file to stream. - * @param bufferSizeInBytes buffer size. + * @param bufferSize buffer size. * @throws IOException If an I/O error occurs */ - public BufferedFileChannelInputStream(final File file, final int bufferSizeInBytes) throws IOException { - this(file.toPath(), bufferSizeInBytes); + public BufferedFileChannelInputStream(final File file, final int bufferSize) throws IOException { + this(file.toPath(), bufferSize); } /** @@ -79,13 +79,13 @@ public final class BufferedFileChannelInputStream extends InputStream { * Constructs a new instance for the given Path and buffer size. * * @param path The path to stream. - * @param bufferSizeInBytes buffer size. + * @param bufferSize buffer size. * @throws IOException If an I/O error occurs */ - public BufferedFileChannelInputStream(final Path path, final int bufferSizeInBytes) throws IOException { + public BufferedFileChannelInputStream(final Path path, final int bufferSize) throws IOException { Objects.requireNonNull(path, "path"); fileChannel = FileChannel.open(path, StandardOpenOption.READ); - byteBuffer = ByteBuffer.allocateDirect(bufferSizeInBytes); + byteBuffer = ByteBuffer.allocateDirect(bufferSize); byteBuffer.flip(); }