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 63562b03af9..61446772983 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 @@ */ 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 @@ static BigInteger toUnsignedBigInteger(final long value) { } return BigInteger.valueOf(value & Long.MAX_VALUE).add(HIGHEST_BIT); } + + /** + * The value is treated as unsigned. + */ private final long value; /**