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-lang.git

commit 1286cc2371904e86b1b2e4b208adfc81feae294b
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Feb 5 09:42:18 2025 -0500

    Deprecate NumericEntityUnescaper.OPTION in favor of Apache Commons Text
---
 src/changes/changes.xml                                           | 1 +
 .../commons/lang3/text/translate/NumericEntityUnescaper.java      | 8 +++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index d1ff0c2f6..ca18c3c90 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -81,6 +81,7 @@ The <action> type attribute can be add,update,fix,remove.
     <action                   type="fix" dev="ggregory" due-to="Gary 
Gregory">Don't call TypeUtils.toString(Type) on every array item in 
TypeUtils.parameterize[WithOwner](Type, Class, Map, Type>) unless 
required.</action>
     <action                   type="fix" dev="ggregory" due-to="Gary 
Gregory">Remove -nouses directive from maven-bundle-plugin. OSGi package 
imports now state 'uses' definitions for package imports, this doesn't affect 
JPMS (from org.apache.commons:commons-parent:80).</action>
     <action                   type="fix" dev="ggregory" due-to="Gary 
Gregory">Instead of throwing a NullPointerException, 
ArrayUtils.toStringArray(Object[]) should return "null" for null elements like 
ArrayUtils.toStringArray(Object[], String) returns its 
valueForNullElements.</action>
+    <action                   type="fix" dev="ggregory" due-to="Gary 
Gregory">Deprecate NumericEntityUnescaper.OPTION in favor of Apache Commons 
Text.</action>
     <!-- ADD -->
     <action                   type="add" dev="ggregory" due-to="Gary 
Gregory">Add Strings and refactor StringUtils.</action>
     <action issue="LANG-1747" type="add" dev="ggregory" due-to="Oliver B. 
Fischer, Gary Gregory">Add StopWatch.run([Failable]Runnable) and 
get([Failable]Supplier).</action>
diff --git 
a/src/main/java/org/apache/commons/lang3/text/translate/NumericEntityUnescaper.java
 
b/src/main/java/org/apache/commons/lang3/text/translate/NumericEntityUnescaper.java
index 5201032f5..cb97648e4 100644
--- 
a/src/main/java/org/apache/commons/lang3/text/translate/NumericEntityUnescaper.java
+++ 
b/src/main/java/org/apache/commons/lang3/text/translate/NumericEntityUnescaper.java
@@ -36,7 +36,13 @@
 @Deprecated
 public class NumericEntityUnescaper extends CharSequenceTranslator {
 
-    /** Enumerates NumericEntityUnescaper options for unescaping. */
+    /**
+     * Enumerates NumericEntityUnescaper options for unescaping.
+     *
+     * @deprecated As of 3.18.0, use Apache Commons Text <a href=
+     *             
"https://commons.apache.org/proper/commons-text/javadocs/api-release/org/apache/commons/text/translate/NumericEntityUnescaper.OPTION.html";>
+     */
+    @Deprecated
     public enum OPTION {
 
         /**

Reply via email to