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


The following commit(s) were added to refs/heads/master by this push:
     new 5438abf78 Javadoc
5438abf78 is described below

commit 5438abf7805adb9b72abbbb50ec2fd8c0ea61854
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Nov 26 10:44:37 2024 -0500

    Javadoc
---
 .../apache/commons/compress/archivers/zip/ZipEightByteInteger.java | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git 
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipEightByteInteger.java
 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipEightByteInteger.java
index 63562b03a..614467729 100644
--- 
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipEightByteInteger.java
+++ 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipEightByteInteger.java
@@ -30,6 +30,9 @@ import java.nio.ByteOrder;
  */
 public final class ZipEightByteInteger implements Serializable {
 
+    /**
+     *  The number of bytes used to represent an instance in binary form.
+     */
     static final int BYTES = 8;
 
     private static final long serialVersionUID = 1L;
@@ -112,6 +115,10 @@ public final class ZipEightByteInteger implements 
Serializable {
         }
         return BigInteger.valueOf(value & Long.MAX_VALUE).add(HIGHEST_BIT);
     }
+
+    /**
+     * The value is treated as unsigned.
+     */
     private final long value;
 
     /**

Reply via email to