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 1eff89099e7d23bd444d112942c009b0c5a0bcd4 Author: Gary Gregory <[email protected]> AuthorDate: Sat Dec 13 08:38:27 2025 -0500 Fix malformed Javadoc comments --- .../compress/archivers/ArchiveOutputStream.java | 6 +++--- .../archivers/zip/X0017_StrongEncryptionHeader.java | 20 ++++++++++---------- .../archivers/zip/ZipArchiveInputStream.java | 3 +-- .../zstandard/ZstdCompressorOutputStream.java | 2 +- 4 files changed, 15 insertions(+), 16 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/ArchiveOutputStream.java b/src/main/java/org/apache/commons/compress/archivers/ArchiveOutputStream.java index ae1c5bfd7..a590eb6df 100644 --- a/src/main/java/org/apache/commons/compress/archivers/ArchiveOutputStream.java +++ b/src/main/java/org/apache/commons/compress/archivers/ArchiveOutputStream.java @@ -38,9 +38,9 @@ * <li>optionally write SFX header (Zip only),</li> * <li>repeat as needed: * <ul> - * <li>{@link #putArchiveEntry(ArchiveEntry)} (writes entry header), - * <li>{@link #write(byte[])} (writes entry data, as often as needed), - * <li>{@link #closeArchiveEntry()} (closes entry), + * <li>{@link #putArchiveEntry(ArchiveEntry)} (writes entry header),</li> + * <li>{@link #write(byte[])} (writes entry data, as often as needed),</li> + * <li>{@link #closeArchiveEntry()} (closes entry),</li> * </ul> * </li> * <li>{@link #finish()} (ends the addition of entries),</li> diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/X0017_StrongEncryptionHeader.java b/src/main/java/org/apache/commons/compress/archivers/zip/X0017_StrongEncryptionHeader.java index e21735488..691e68e07 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/X0017_StrongEncryptionHeader.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/X0017_StrongEncryptionHeader.java @@ -46,12 +46,12 @@ * </pre> * * <ul> - * <li>0x0007 - reserved for future use - * <li>0x000F - reserved for future use + * <li>0x0007 - reserved for future use</li> + * <li>0x000F - reserved for future use</li> * <li>0x0100 - Indicates non-OAEP key wrapping was used. If this field is set, the version needed to extract must be at least 61. This means OAEP key - * wrapping is not used when generating a Master Session Key using ErdData. - * <li>0x4000 - ErdData must be decrypted using 3DES-168, otherwise use the same algorithm used for encrypting the file contents. - * <li>0x8000 - reserved for future use + * wrapping is not used when generating a Master Session Key using ErdData.</li> + * <li>0x4000 - ErdData must be decrypted using 3DES-168, otherwise use the same algorithm used for encrypting the file contents.</li> + * <li>0x8000 - reserved for future use</li> * </ul> * * <pre> @@ -239,12 +239,12 @@ * <li>0x0001 - Password is required to decrypt</li> * <li>0x0002 - Certificates only</li> * <li>0x0003 - Password or certificate required to decrypt</li> - * <li>0x0007 - reserved for future use - * <li>0x000F - reserved for future use + * <li>0x0007 - reserved for future use</li> + * <li>0x000F - reserved for future use</li> * <li>0x0100 - indicates non-OAEP key wrapping was used. If this field is set the version needed to extract must be at least 61. This means OAEP key wrapping - * is not used when generating a Master Session Key using ErdData. - * <li>0x4000 - ErdData must be decrypted using 3DES-168, otherwise use the same algorithm used for encrypting the file contents. - * <li>0x8000 - reserved for future use. + * is not used when generating a Master Session Key using ErdData.</li> + * <li>0x4000 - ErdData must be decrypted using 3DES-168, otherwise use the same algorithm used for encrypting the file contents.</li> + * <li>0x8000 - reserved for future use.</li> * </ul> * * <p> diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java index d24048786..a436bc533 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java @@ -1319,8 +1319,7 @@ private int readStored(final byte[] buffer, final int offset, final int length) * Caches a stored entry that uses the data descriptor. * <ul> * <li>Reads a stored entry until the signature of a local file header, central directory header or data descriptor has been found.</li> - * <li>Stores all entry data in lastStoredEntry. - * </p> + * <li>Stores all entry data in lastStoredEntry.</li> * <li>Rewinds the stream to position at the data descriptor.</li> * <li>reads the data descriptor</li> * </ul> diff --git a/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorOutputStream.java b/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorOutputStream.java index 20dd3446c..dc753247a 100644 --- a/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorOutputStream.java +++ b/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorOutputStream.java @@ -296,7 +296,7 @@ public Builder setMinMatch(final int minMatch) { * <li>3: w / 64</li> * <li>2: w / 128</li> * <li>1: no overlap</li> - * <li>0: default + * <li>0: default</li> * </ul> * <p> * The default value varies between 6 and 9, depending on the strategy.
