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 41d33635354f155c53ff13904bfb898975e44cd5
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Apr 9 16:30:19 2025 -0400

    Javadoc
---
 .../compress/archivers/zip/ZipArchiveEntry.java     | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git 
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java
index 2468dcb3b..6a18f6310 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java
@@ -234,8 +234,19 @@ public enum NameSource {
     static final ZipArchiveEntry[] EMPTY_ARRAY = {};
     static LinkedList<ZipArchiveEntry> EMPTY_LINKED_LIST = new LinkedList<>();
 
+    /**
+     * Platform is UNIX.
+     */
     public static final int PLATFORM_UNIX = 3;
+
+    /**
+     * Platform is FAT.
+     */
     public static final int PLATFORM_FAT = 0;
+
+    /**
+     * Platform is unknown.
+     */
     public static final int CRC_UNKNOWN = -1;
 
     private static final int SHORT_MASK = 0xFFFF;
@@ -1361,6 +1372,11 @@ public ZipEntry setLastModifiedTime(final FileTime 
fileTime) {
         return this;
     }
 
+    /**
+     * Sets the local header offset.
+     *
+     * @param localHeaderOffset the local header offset.
+     */
     protected void setLocalHeaderOffset(final long localHeaderOffset) {
         this.localHeaderOffset = localHeaderOffset;
     }
@@ -1446,6 +1462,11 @@ public void setSize(final long size) {
         this.size = size;
     }
 
+    /**
+     * Sets whether the stream is contiguous, that is, not split among several 
archive parts, interspersed with control blocks, and so on.
+     *
+     * @param isStreamContiguous whether the stream is contiguous
+     */
     protected void setStreamContiguous(final boolean isStreamContiguous) {
         this.isStreamContiguous = isStreamContiguous;
     }

Reply via email to