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
commit 65d6f172dffd7d2af918b60f6cad971dc3d6452e Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Wed Feb 28 13:09:10 2024 -0500 Better local var name --- .../commons/compress/archivers/tar/TarArchiveInputStream.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java index 3e546398f..ce35ed9f6 100644 --- a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java +++ b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java @@ -687,9 +687,9 @@ public class TarArchiveInputStream extends ArchiveInputStream<TarArchiveEntry> { * @throws IOException on error */ protected byte[] readRecord() throws IOException { - final int readNow = IOUtils.readFully(in, recordBuffer); - count(readNow); - if (readNow != recordSize) { + final int readCount = IOUtils.readFully(in, recordBuffer); + count(readCount); + if (readCount != recordSize) { return null; }