You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/01/25 20:26:54 UTC
(commons-codec) 01/09: Deprecate CharEncoding 0-argument constructor
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-codec.git
commit d1df7590b8e83ab7cdb85de83995d790b3137edb
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Jan 25 11:59:41 2024 -0500
Deprecate CharEncoding 0-argument constructor
---
src/main/java/org/apache/commons/codec/CharEncoding.java | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/main/java/org/apache/commons/codec/CharEncoding.java b/src/main/java/org/apache/commons/codec/CharEncoding.java
index d1666d47..50e76960 100644
--- a/src/main/java/org/apache/commons/codec/CharEncoding.java
+++ b/src/main/java/org/apache/commons/codec/CharEncoding.java
@@ -118,4 +118,15 @@ public class CharEncoding {
* @see Charset
*/
public static final String UTF_8 = StandardCharsets.UTF_8.name();
+
+ /**
+ * TODO Make private in 2.0.
+ *
+ * @deprecated TODO Make private in 2.0.
+ */
+ @Deprecated
+ public CharEncoding() {
+ // empty
+ }
+
}