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 b11ca16d473bca4a0b34268cee96a48d1e3bc205
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Dec 23 08:22:11 2024 -0500

    Javadoc: Add missing comment
---
 .../compress/archivers/tar/TarArchiveInputStream.java    | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

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 b4b313726..6b5f7bf0f 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
@@ -519,6 +519,11 @@ public class TarArchiveInputStream extends 
ArchiveInputStream<TarArchiveEntry> {
         return recordBuffer.length;
     }
 
+    /**
+     * Tests whether we are at the end-of-file.
+     *
+     * @return whether we are at the end-of-file.
+     */
     protected final boolean isAtEOF() {
         return atEof;
     }
@@ -752,12 +757,23 @@ public class TarArchiveInputStream extends 
ArchiveInputStream<TarArchiveEntry> {
      */
     @Override
     public synchronized void reset() {
+        // empty
     }
 
+    /**
+     * Sets whether we are at the end-of-file.
+     *
+     * @param atEof whether we are at the end-of-file.
+     */
     protected final void setAtEOF(final boolean atEof) {
         this.atEof = atEof;
     }
 
+    /**
+     * Sets the current entry.
+     *
+     * @param currEntry the current entry.
+     */
     protected final void setCurrentEntry(final TarArchiveEntry currEntry) {
         this.currEntry = currEntry;
     }

Reply via email to