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
The following commit(s) were added to refs/heads/master by this push: new 86d22329e Normalize end of comments 86d22329e is described below commit 86d22329e4bfb524694c7012fad066d6b3d15b1e Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat Jan 20 10:46:26 2024 -0500 Normalize end of comments --- .../commons/compress/archivers/tar/TarArchiveEntry.java | 1 - .../apache/commons/compress/archivers/tar/TarConstants.java | 11 ----------- .../apache/commons/compress/archivers/zip/X7875_NewUnix.java | 1 - .../compress/archivers/zip/ZipArchiveOutputStream.java | 1 - .../apache/commons/compress/compressors/bzip2/BlockSort.java | 1 - .../compressors/deflate/DeflateCompressorInputStream.java | 1 - .../compressors/lz4/BlockLZ4CompressorOutputStream.java | 1 - 7 files changed, 17 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java index 20ebae5b8..9e813ec03 100644 --- a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java +++ b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java @@ -1344,7 +1344,6 @@ public class TarArchiveEntry implements ArchiveEntry, TarConstants, EntryStreamO * @return {@code true} if this is a Pax header. * * @since 1.1 - * */ public boolean isPaxHeader() { return linkFlag == LF_PAX_EXTENDED_HEADER_LC || linkFlag == LF_PAX_EXTENDED_HEADER_UC; diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java index 32d23db0b..da9e8c1cc 100644 --- a/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java +++ b/src/main/java/org/apache/commons/compress/archivers/tar/TarConstants.java @@ -130,55 +130,46 @@ public interface TarConstants { /** * Length of the prefix field. - * */ int PREFIXLEN = 155; /** * The length of the access time field in an old GNU header buffer. - * */ int ATIMELEN_GNU = 12; /** * The length of the created time field in an old GNU header buffer. - * */ int CTIMELEN_GNU = 12; /** * The length of the multivolume start offset field in an old GNU header buffer. - * */ int OFFSETLEN_GNU = 12; /** * The length of the long names field in an old GNU header buffer. - * */ int LONGNAMESLEN_GNU = 4; /** * The length of the padding field in an old GNU header buffer. - * */ int PAD2LEN_GNU = 1; /** * The sum of the length of all sparse headers in an old GNU header buffer. - * */ int SPARSELEN_GNU = 96; /** * The length of the is extension field in an old GNU header buffer. - * */ int ISEXTENDEDLEN_GNU = 1; /** * The length of the real size field in an old GNU header buffer. - * */ int REALSIZELEN_GNU = 12; @@ -212,13 +203,11 @@ public interface TarConstants { /** * The sum of the length of all sparse headers in a sparse header buffer. - * */ int SPARSELEN_GNU_SPARSE = 504; /** * The length of the is extension field in a sparse header buffer. - * */ int ISEXTENDEDLEN_GNU_SPARSE = 1; diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/X7875_NewUnix.java b/src/main/java/org/apache/commons/compress/archivers/zip/X7875_NewUnix.java index 742fed087..e36b187bc 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/X7875_NewUnix.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/X7875_NewUnix.java @@ -106,7 +106,6 @@ public class X7875_NewUnix implements ZipExtraField, Cloneable, Serializable { * (requires changes to unit tests, though). * * And I am sorry that the time you spent reading this comment is now gone, and you can never have it back. - * */ final int MIN_LENGTH = 1; diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java index 113810201..f1dd92328 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java @@ -332,7 +332,6 @@ public class ZipArchiveOutputStream extends ArchiveOutputStream<ZipArchiveEntry> /** * This Deflater object is used for output. - * */ protected final Deflater def; diff --git a/src/main/java/org/apache/commons/compress/compressors/bzip2/BlockSort.java b/src/main/java/org/apache/commons/compress/compressors/bzip2/BlockSort.java index d0ba9f481..d1f056823 100644 --- a/src/main/java/org/apache/commons/compress/compressors/bzip2/BlockSort.java +++ b/src/main/java/org/apache/commons/compress/compressors/bzip2/BlockSort.java @@ -182,7 +182,6 @@ final class BlockSort { * becomes. * * fmap = { 5, 3, 0, 4, 1, 2 } - * */ private final int[] stack_dd = new int[QSORT_STACK_SIZE]; // 4000 byte diff --git a/src/main/java/org/apache/commons/compress/compressors/deflate/DeflateCompressorInputStream.java b/src/main/java/org/apache/commons/compress/compressors/deflate/DeflateCompressorInputStream.java index d9ff7de2a..9e904820a 100644 --- a/src/main/java/org/apache/commons/compress/compressors/deflate/DeflateCompressorInputStream.java +++ b/src/main/java/org/apache/commons/compress/compressors/deflate/DeflateCompressorInputStream.java @@ -63,7 +63,6 @@ public class DeflateCompressorInputStream extends CompressorInputStream implemen * Creates a new input stream that decompresses Deflate-compressed data from the specified input stream. * * @param inputStream where to read the compressed data - * */ public DeflateCompressorInputStream(final InputStream inputStream) { this(inputStream, new DeflateParameters()); diff --git a/src/main/java/org/apache/commons/compress/compressors/lz4/BlockLZ4CompressorOutputStream.java b/src/main/java/org/apache/commons/compress/compressors/lz4/BlockLZ4CompressorOutputStream.java index 2aaa511f5..17b29df6f 100644 --- a/src/main/java/org/apache/commons/compress/compressors/lz4/BlockLZ4CompressorOutputStream.java +++ b/src/main/java/org/apache/commons/compress/compressors/lz4/BlockLZ4CompressorOutputStream.java @@ -168,7 +168,6 @@ public class BlockLZ4CompressorOutputStream extends CompressorOutputStream { * * which means any back-reference may need to get rewritten as a literal block unless we know the next block is at least of length 5 and the sum of this * block's length and offset and the next block's length is at least twelve. - * */ private static final int MIN_OFFSET_OF_LAST_BACK_REFERENCE = 12;