This is an automated email from the ASF dual-hosted git repository. garydgregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git
commit 3ad542716ce32906571a19acb106be21b9178dd2 Author: Gary Gregory <[email protected]> AuthorDate: Tue Aug 11 14:19:28 2026 -0400 Javadoc --- .../apache/commons/compress/archivers/tar/TarArchiveOutputStream.java | 3 +++ 1 file changed, 3 insertions(+) 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 40ca97c9c..9beef6f96 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 @@ -161,6 +161,7 @@ public TarArchiveOutputStream(final OutputStream os, final int blockSize) { * @param os The output stream to use. * @param blockSize The block size to use. * @param recordSize The record size to use. Must be 512 bytes. + * @throws IllegalArgumentException if recordSize is not 512 bytes. * @deprecated recordSize must always be 512 bytes. An IllegalArgumentException will be thrown if any other value is used */ @Deprecated @@ -175,6 +176,7 @@ public TarArchiveOutputStream(final OutputStream os, final int blockSize, final * @param blockSize The block size to use . Must be a multiple of 512 bytes. * @param recordSize The record size to use. Must be 512 bytes. * @param encoding name of the encoding to use for file names. + * @throws IllegalArgumentException if recordSize is not 512 bytes. * @since 1.4 * @deprecated recordSize must always be 512 bytes. An IllegalArgumentException will be thrown if any other value is used. */ @@ -193,6 +195,7 @@ public TarArchiveOutputStream(final OutputStream os, final int blockSize, final * @param os The output stream to use. * @param blockSize The block size to use. Must be a multiple of 512 bytes. * @param charset name of the encoding to use for file names. + * @throws IllegalArgumentException if blockSize is not a multiple of 512 bytes. * @since 1.4 */ public TarArchiveOutputStream(final OutputStream os, final int blockSize, final String charset) {
