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 995b3d99d84926c8d0bc432ffb8ec91cd0239fe4 Author: Gary Gregory <[email protected]> AuthorDate: Wed Apr 9 10:09:30 2025 -0400 Better internal name --- .../java/org/apache/commons/compress/archivers/tar/TarFile.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarFile.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarFile.java index 43b01d4e3..018fa1d97 100644 --- a/src/main/java/org/apache/commons/compress/archivers/tar/TarFile.java +++ b/src/main/java/org/apache/commons/compress/archivers/tar/TarFile.java @@ -169,7 +169,7 @@ private int readSparse(final long pos, final ByteBuffer buf, final int numToRead // the global sparse headers, this is only used in PAX Format 0.X private final List<TarArchiveStructSparse> globalSparseHeaders = new ArrayList<>(); - private boolean hasHitEOF; + private boolean eof; /** * The meta-data about the current entry @@ -547,7 +547,7 @@ private ByteBuffer getRecord() throws IOException { } protected final boolean isAtEOF() { - return hasHitEOF; + return eof; } private boolean isDirectory() { @@ -682,7 +682,7 @@ private void repositionForwardTo(final long newPosition) throws IOException { } protected final void setAtEOF(final boolean b) { - hasHitEOF = b; + eof = b; } /**
