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 f5a0f1cb5dd82118e2350db84504b89f10adf50f
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Dec 21 18:03:31 2025 -0500

    Deprecate org.apache.commons.compress.archivers.zip.ZipUtil.ZipUtil()
---
 src/changes/changes.xml                                        |  1 +
 .../org/apache/commons/compress/archivers/zip/ZipUtil.java     | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index f8ab17784..36b1cc60c 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -124,6 +124,7 @@ The <action> type attribute can be add,update,fix,remove.
       <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate 
org.apache.commons.compress.utils.FileNameUtils.FileNameUtils().</action>
       <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate 
org.apache.commons.compress.utils.OsgiUtils.OsgiUtils().</action>
       <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate 
org.apache.commons.compress.archivers.zip.ZipEncodingHelper.ZipEncodingHelper().</action>
+      <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate 
org.apache.commons.compress.archivers.zip.ZipUtil.ZipUtil().</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/ZipUtil.java 
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipUtil.java
index f382d8fdd..d2ebab639 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipUtil.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipUtil.java
@@ -423,4 +423,14 @@ public static byte unsignedIntToSignedByte(final int i) {
         }
         return (byte) (i - 256);
     }
+
+    /**
+     * Constructs a new instance.
+     *
+     * @deprecated Will be removed in 4.0.
+     */
+    @Deprecated
+    public ZipUtil() {
+        // Utility class
+    }
 }

Reply via email to