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 4137176b147091261487a0be82457133c8b6198e Author: Gary Gregory <[email protected]> AuthorDate: Fri Nov 7 21:57:52 2025 -0500 Javadoc --- .../compress/archivers/tar/TarArchiveOutputStream.java | 2 +- .../compress/archivers/arj/ArjArchiveInputStreamTest.java | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStream.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStream.java index 7024810fc..ea6f574a0 100644 --- a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStream.java +++ b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStream.java @@ -498,7 +498,7 @@ private void padAsNeeded() throws IOException { /** * Puts an entry on the output stream. This writes the entry's header record and positions the output stream for writing the contents of the entry. Once * this method is called, the stream is ready for calls to write() to write the entry's contents. Once the contents are written, closeArchiveEntry() - * <B>MUST</B> be called to ensure that all buffered data is completely written to the output stream. + * <strong>MUST</strong> be called to ensure that all buffered data is completely written to the output stream. * * @param archiveEntry The TarEntry to be written to the archive. * @throws IOException on error diff --git a/src/test/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStreamTest.java b/src/test/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStreamTest.java index 7fdca6478..b021d3de2 100644 --- a/src/test/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStreamTest.java +++ b/src/test/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStreamTest.java @@ -352,10 +352,10 @@ void testSmallFirstHeaderSize( * <p>The test archive is crafted so that the local file header of the first entry begins at * byte offset {@code 0x0035}. Within that header:</p> * <ul> - * <li><b>Basic header size</b> (2 bytes at offsets 0x02–0x03) = {@code 0x0039}.</li> - * <li><b>Fixed header size</b> (aka {@code first_hdr_size}, 1 byte at 0x04) = {@code 0x2E}.</li> + * <li><strong>Basic header size</strong> (2 bytes at offsets 0x02–0x03) = {@code 0x0039}.</li> + * <li><strong>Fixed header size</strong> (aka {@code first_hdr_size}, 1 byte at 0x04) = {@code 0x2E}.</li> * <li>The filename and comment C-strings follow the fixed header and complete the basic header.</li> - * <li>A 4-byte <b>basic header CRC-32</b> follows the basic header.</li> + * <li>A 4-byte <strong>basic header CRC-32</strong> follows the basic header.</li> * </ul> * * @param maxCount absolute truncation point (number of readable bytes from the start of the file) @@ -397,10 +397,10 @@ void testTruncatedLocalHeader(final long maxCount) throws Exception { * * <p>The main archive header is at the beginning of the file. Within that header:</p> * <ul> - * <li><b>Basic header size</b> (2 bytes at offsets 0x02–0x03) = {@code 0x002b}.</li> - * <li><b>Fixed header size</b> (aka {@code first_hdr_size}, 1 byte at 0x04) = {@code 0x22}.</li> + * <li><strong>Basic header size</strong> (2 bytes at offsets 0x02–0x03) = {@code 0x002b}.</li> + * <li><strong>Fixed header size</strong> (aka {@code first_hdr_size}, 1 byte at 0x04) = {@code 0x22}.</li> * <li>The archive name and comment C-strings follow the fixed header and complete the basic header.</li> - * <li>A 4-byte <b>basic header CRC-32</b> follows the basic header.</li> + * <li>A 4-byte <strong>basic header CRC-32</strong> follows the basic header.</li> * </ul> * * @param maxCount absolute truncation point (number of readable bytes from the start of the file)
