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-compress.git
The following commit(s) were added to refs/heads/master by this push: new 7c05807e0 Camel-case parameter names 7c05807e0 is described below commit 7c05807e0b232e8414659d59d2afdb5bb3979fe5 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Nov 12 09:42:56 2023 -0500 Camel-case parameter names --- src/main/java/org/apache/commons/compress/utils/IOUtils.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/utils/IOUtils.java b/src/main/java/org/apache/commons/compress/utils/IOUtils.java index b5c0d187e..15dfcc118 100644 --- a/src/main/java/org/apache/commons/compress/utils/IOUtils.java +++ b/src/main/java/org/apache/commons/compress/utils/IOUtils.java @@ -104,11 +104,11 @@ public final class IOUtils { * @throws IOException * if an error occurs * @throws IllegalArgumentException - * if buffersize is smaller than or equal to 0 + * if bufferSize is smaller than or equal to 0 */ public static long copy(final InputStream input, final OutputStream output, final int bufferSize) throws IOException { if (bufferSize < 1) { - throw new IllegalArgumentException("buffersize must be bigger than 0"); + throw new IllegalArgumentException("bufferSize must be bigger than 0"); } final byte[] buffer = new byte[bufferSize]; int n = 0; @@ -157,13 +157,13 @@ public final class IOUtils { * @throws IOException * if an error occurs * @throws IllegalArgumentException - * if buffersize is smaller than or equal to 0 + * if bufferSize is smaller than or equal to 0 * @since 1.21 */ public static long copyRange(final InputStream input, final long len, final OutputStream output, final int bufferSize) throws IOException { if (bufferSize < 1) { - throw new IllegalArgumentException("buffersize must be bigger than 0"); + throw new IllegalArgumentException("bufferSize must be bigger than 0"); } final byte[] buffer = new byte[(int) Math.min(bufferSize, len)]; int n = 0;