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 28ca390 Camel case parameter name. 28ca390 is described below commit 28ca3901594768141e900cc23b74651a9ce3526d Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Feb 8 17:16:17 2022 -0500 Camel case parameter name. --- .../apache/commons/compress/archivers/cpio/CpioArchiveEntry.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntry.java index 9fa4948..5084c75 100644 --- a/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntry.java +++ b/src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveEntry.java @@ -559,18 +559,18 @@ public class CpioArchiveEntry implements CpioConstants, ArchiveEntry { /** * Gets the number of bytes needed to pad the header to the alignment boundary. * - * @param namesize + * @param nameSize * The length of the name in bytes, as read in the stream. * Without the trailing zero byte. * @return the number of bytes needed to pad the header (0,1,2,3) * * @since 1.18 */ - public int getHeaderPadCount(final long namesize) { + public int getHeaderPadCount(final long nameSize) { if (this.alignmentBoundary == 0) { return 0; } int size = this.headerSize + 1; // Name has terminating null if (name != null) { - size += namesize; + size += nameSize; } final int remain = size % this.alignmentBoundary; if (remain > 0) {