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 15585289c655d1846267ddfa7f4fcec5b65f18f9
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Dec 21 17:59:41 2025 -0500

    Javadoc
---
 .../archivers/zip/X5455_ExtendedTimestamp.java     | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git 
a/src/main/java/org/apache/commons/compress/archivers/zip/X5455_ExtendedTimestamp.java
 
b/src/main/java/org/apache/commons/compress/archivers/zip/X5455_ExtendedTimestamp.java
index 6e31e9d35..3c5f27321 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/zip/X5455_ExtendedTimestamp.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/zip/X5455_ExtendedTimestamp.java
@@ -73,21 +73,26 @@
  * @since 1.5
  */
 public class X5455_ExtendedTimestamp implements ZipExtraField, Cloneable, 
Serializable {
+
     private static final long serialVersionUID = 1L;
+
     /**
      * The header ID for this extra field.
      *
      * @since 1.23
      */
     public static final ZipShort HEADER_ID = new ZipShort(0x5455);
+
     /**
      * The bit set inside the flags by when the last modification time is 
present in this extra field.
      */
     public static final byte MODIFY_TIME_BIT = 1;
+
     /**
      * The bit set inside the flags by when the lasr access time is present in 
this extra field.
      */
     public static final byte ACCESS_TIME_BIT = 2;
+
     /**
      * The bit set inside the flags by when the original creation time is 
present in this extra field.
      */
@@ -137,16 +142,43 @@ private static Date zipLongToDate(final ZipLong unixTime) 
{
         return unixTime != null ? new Date(unixTime.getIntValue() * 1000L) : 
null;
     }
 
+    /**
+     * The flags byte.
+     */
     private byte flags;
+
     // Note: even if bit1 and bit2 are set, the Central data will still not 
contain
     // access/create fields: only local data ever holds those! This causes
     // some of our implementation to look a little odd, with seemingly spurious
     // != null and length checks.
+    /**
+     * Whether bit 0 is set (modify time present).
+     */
     private boolean bit0_modifyTimePresent;
+
+    /**
+     * Whether bit 1 is set (access time present).
+     */
     private boolean bit1_accessTimePresent;
+
+    /**
+     * Whether bit 2 is set (create time present).
+     */
     private boolean bit2_createTimePresent;
+
+    /**
+     * The modify time.
+     */
     private ZipLong modifyTime;
+
+    /**
+     * The access time.
+     */
     private ZipLong accessTime;
+
+    /**
+     * The create time.
+     */
     private ZipLong createTime;
 
     /**

Reply via email to