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 49d6b1098 [COMPRESS-665] Deprecate org.apache.commons.compress.utils.CharsetNames in favor or java.nio.charset.StandardCharsets 49d6b1098 is described below commit 49d6b1098abea49bfe67bcba875a307ba2d78f76 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Mar 8 18:15:28 2024 -0500 [COMPRESS-665] Deprecate org.apache.commons.compress.utils.CharsetNames in favor or java.nio.charset.StandardCharsets --- src/changes/changes.xml | 1 + src/main/java/org/apache/commons/compress/utils/CharsetNames.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 3b43a5abd..06cbbe4fe 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -45,6 +45,7 @@ The <action> type attribute can be add,update,fix,remove. </properties> <body> <release version="1.27.0" date="YYYY-MM-DD" description="Minor feature and maintenance release."> + <action type="fix" issue="COMPRESS-665" dev="ggregory" due-to="Gary Gregory, Elliotte Rusty Harold">Deprecate org.apache.commons.compress.utils.CharsetNames in favor or java.nio.charset.StandardCharsets.</action> </release> <release version="1.26.1" date="2024-03-05" description="Minor feature and maintenance release."> <!-- FIX --> diff --git a/src/main/java/org/apache/commons/compress/utils/CharsetNames.java b/src/main/java/org/apache/commons/compress/utils/CharsetNames.java index 9704b88f9..2398c49fa 100644 --- a/src/main/java/org/apache/commons/compress/utils/CharsetNames.java +++ b/src/main/java/org/apache/commons/compress/utils/CharsetNames.java @@ -52,7 +52,9 @@ import java.nio.charset.StandardCharsets; * * @see <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html">Standard charsets</a> * @since 1.4 + * @deprecated Use {@link StandardCharsets}. */ +@Deprecated public class CharsetNames { /** * CharEncodingISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1.