You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/08/19 12:12:41 UTC
(commons-compress) 04/06: Rename private instance variable
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 a9c56b55894ee150d2de946b40f4e555a1bf2155
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Tue Aug 19 07:39:33 2025 -0400
Rename private instance variable
---
.../org/apache/commons/compress/archivers/tar/TarArchiveEntry.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
index 189af609c..70bfcf7d4 100644
--- a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
+++ b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
@@ -326,7 +326,7 @@ private static Instant parseInstantFromDecimalSeconds(final String value) throws
private FileTime birthTime;
/** If the header checksum is reasonably correct. */
- private boolean checkSumOK;
+ private boolean checkSumOk;
/** The entry's link flag. */
private byte linkFlag;
@@ -1136,7 +1136,7 @@ public boolean isCharacterDevice() {
* @since 1.5
*/
public boolean isCheckSumOK() {
- return checkSumOK;
+ return checkSumOk;
}
/**
@@ -1498,7 +1498,7 @@ private int parseTarHeaderBlock(final byte[] header, final ZipEncoding encoding,
offset += SIZELEN;
mTime = FileTimes.fromUnixTime(parseOctalOrBinary(header, offset, MODTIMELEN, lenient));
offset += MODTIMELEN;
- checkSumOK = TarUtils.verifyCheckSum(header);
+ checkSumOk = TarUtils.verifyCheckSum(header);
offset += CHKSUMLEN;
linkFlag = header[offset++];
linkName = oldStyle ? TarUtils.parseName(header, offset, NAMELEN) : TarUtils.parseName(header, offset, NAMELEN, encoding);