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 25e7e9827bda3defaaf4c4553ec9fa3ef1e54588 Author: Gary Gregory <[email protected]> AuthorDate: Sun Dec 21 17:54:22 2025 -0500 org.apache.commons.compress.archivers.zip.ExtraFieldUtils.ExtraFieldUtils() --- src/changes/changes.xml | 1 + .../apache/commons/compress/archivers/zip/ExtraFieldUtils.java | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index a1cb7c287..46c34eebb 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -120,6 +120,7 @@ The <action> type attribute can be add,update,fix,remove. <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> + <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate org.apache.commons.compress.archivers.zip.ExtraFieldUtils.ExtraFieldUtils().</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/zip/ExtraFieldUtils.java b/src/main/java/org/apache/commons/compress/archivers/zip/ExtraFieldUtils.java index dd922c9be..a5901852d 100644 --- a/src/main/java/org/apache/commons/compress/archivers/zip/ExtraFieldUtils.java +++ b/src/main/java/org/apache/commons/compress/archivers/zip/ExtraFieldUtils.java @@ -389,4 +389,14 @@ public static void register(final Class<?> clazz) { throw new IllegalArgumentException(clazz.toString(), e); } } + + /** + * Constructs a new instance. + * + * @deprecated Will be removed in 4.0. + */ + @Deprecated + public ExtraFieldUtils() { + // Utility class + } }
