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 a685b52938b3503c3a960bab9cf88164e47700b7 Author: Gary Gregory <[email protected]> AuthorDate: Sun Dec 21 18:04:06 2025 -0500 Deprecate org.apache.commons.compress.compressors.zstandard.ZstdConstants.ZstdConstants() --- src/changes/changes.xml | 1 + .../commons/compress/compressors/zstandard/ZstdConstants.java | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 36b1cc60c..f4159f835 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -125,6 +125,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.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> + <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate org.apache.commons.compress.compressors.zstandard.ZstdConstants.ZstdConstants().</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/compressors/zstandard/ZstdConstants.java b/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdConstants.java index 775526db5..627adc945 100644 --- a/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdConstants.java +++ b/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdConstants.java @@ -193,4 +193,14 @@ public class ZstdConstants { */ public static final int ZSTD_WINDOWLOG_MIN = Zstd.windowLogMin(); + /** + * Constructs a new instance. + * + * @deprecated Will be removed in 4.0. + */ + @Deprecated + public ZstdConstants() { + // Utility class + } + }
