You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/12/21 23:12:20 UTC
(commons-compress) 27/36: Javadoc
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 52f22277793ff1216ec1e1e2c31911110dfa9152
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Dec 21 18:00:52 2025 -0500
Javadoc
---
.../commons/compress/archivers/zip/X7875_NewUnix.java | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/X7875_NewUnix.java b/src/main/java/org/apache/commons/compress/archivers/zip/X7875_NewUnix.java
index ac3cedb75..5245d505a 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/X7875_NewUnix.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/X7875_NewUnix.java
@@ -113,14 +113,25 @@ static byte[] trimLeadingZeroesForceMinLength(final byte[] array) {
return trimmedArray;
}
- private int version = 1; // always '1' according to current info-zip spec.
+ /**
+ * The version number, always {@code 1}, according to current info-zip spec.
+ */
+ private int version = 1;
+
+
// BigInteger helps us with little-endian / big-endian conversions.
// (thanks to BigInteger.toByteArray() and a reverse() method we created).
// Also, the spec theoretically allows UID/GID up to 255 bytes long!
//
// NOTE: equals() and hashCode() currently assume these can never be null.
+ /**
+ * The user ID.
+ */
private BigInteger uid;
+ /**
+ * The group ID.
+ */
private BigInteger gid;
/**