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 ca0cf06846b1711202c7c58739d4773a87e93ab3 Author: Gary Gregory <[email protected]> AuthorDate: Sun Dec 21 17:52:49 2025 -0500 Deprecate org.apache.commons.compress.archivers.sevenz.CLI.CLI() --- src/changes/changes.xml | 1 + .../java/org/apache/commons/compress/archivers/sevenz/CLI.java | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 200d5346e..a1cb7c287 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -119,6 +119,7 @@ The <action> type attribute can be add,update,fix,remove. <action type="fix" dev="pkarwasz" due-to="Piotr P. Karwasz">All archive input stream constructors now throw IOException.</action> <action type="fix" dev="pkarwasz" due-to="Gary Gregory, Piotr P. Karwasz">SeekableInMemoryByteChannel.position(long) shouldn't throw an IllegalArgumentException for a new positive position that's too large #756.</action> <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate SeekableInMemoryByteChannel in favor of ByteArraySeekableByteChannel.</action> + <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate org.apache.commons.compress.archivers.sevenz.CLI.CLI().</action> <!-- ADD --> <action type="add" dev="ggregory" due-to="Gary Gregory">Add MemoryLimitException.MemoryLimitException(long, long).</action> <action type="add" dev="ggregory" due-to="Gary Gregory">Add CompressException.CompressException(String, Object...).</action> diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java index bfb3f5578..fc0b9df36 100644 --- a/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java +++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/CLI.java @@ -120,4 +120,14 @@ private static void usage() { System.out.println("Parameters: archive-name [list]"); } + /** + * Constructs a new instance. + * + * @deprecated Will be removed in 4.0. + */ + @Deprecated + public CLI() { + // Default constructor + } + }
