Skip to content

Commit 4137176

Browse files
committed
Javadoc
1 parent 4f42bc6 commit 4137176

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ private void padAsNeeded() throws IOException {
498498
/**
499499
* 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
500500
* this method is called, the stream is ready for calls to write() to write the entry's contents. Once the contents are written, closeArchiveEntry()
501-
* <B>MUST</B> be called to ensure that all buffered data is completely written to the output stream.
501+
* <strong>MUST</strong> be called to ensure that all buffered data is completely written to the output stream.
502502
*
503503
* @param archiveEntry The TarEntry to be written to the archive.
504504
* @throws IOException on error

src/test/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStreamTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -352,10 +352,10 @@ void testSmallFirstHeaderSize(
352352
* <p>The test archive is crafted so that the local file header of the first entry begins at
353353
* byte offset {@code 0x0035}. Within that header:</p>
354354
* <ul>
355-
* <li><b>Basic header size</b> (2 bytes at offsets 0x02–0x03) = {@code 0x0039}.</li>
356-
* <li><b>Fixed header size</b> (aka {@code first_hdr_size}, 1 byte at 0x04) = {@code 0x2E}.</li>
355+
* <li><strong>Basic header size</strong> (2 bytes at offsets 0x02–0x03) = {@code 0x0039}.</li>
356+
* <li><strong>Fixed header size</strong> (aka {@code first_hdr_size}, 1 byte at 0x04) = {@code 0x2E}.</li>
357357
* <li>The filename and comment C-strings follow the fixed header and complete the basic header.</li>
358-
* <li>A 4-byte <b>basic header CRC-32</b> follows the basic header.</li>
358+
* <li>A 4-byte <strong>basic header CRC-32</strong> follows the basic header.</li>
359359
* </ul>
360360
*
361361
* @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 {
397397
*
398398
* <p>The main archive header is at the beginning of the file. Within that header:</p>
399399
* <ul>
400-
* <li><b>Basic header size</b> (2 bytes at offsets 0x02–0x03) = {@code 0x002b}.</li>
401-
* <li><b>Fixed header size</b> (aka {@code first_hdr_size}, 1 byte at 0x04) = {@code 0x22}.</li>
400+
* <li><strong>Basic header size</strong> (2 bytes at offsets 0x02–0x03) = {@code 0x002b}.</li>
401+
* <li><strong>Fixed header size</strong> (aka {@code first_hdr_size}, 1 byte at 0x04) = {@code 0x22}.</li>
402402
* <li>The archive name and comment C-strings follow the fixed header and complete the basic header.</li>
403-
* <li>A 4-byte <b>basic header CRC-32</b> follows the basic header.</li>
403+
* <li>A 4-byte <strong>basic header CRC-32</strong> follows the basic header.</li>
404404
* </ul>
405405
*
406406
* @param maxCount absolute truncation point (number of readable bytes from the start of the file)

0 commit comments

Comments
 (0)