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

commit cddc8a5459276a6b051417f6fce34ba115c89d89
Author: Gary D. Gregory <[email protected]>
AuthorDate: Sun Mar 16 19:04:44 2025 -0400

    Deprecate ValueUtils.ValueUtils()
---
 src/changes/changes.xml                                      |  1 +
 src/main/java/org/apache/commons/jxpath/util/ValueUtils.java | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 8323645..98d731b 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -113,6 +113,7 @@ The <action> type attribute can be add,update,fix,remove.
       <action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate 
MethodLookupUtils.MethodLookupUtils().</action>
       <action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate 
KeyManagerUtils.KeyManagerUtils().</action>
       <action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate 
TypeUtils.TypeUtils().</action>
+      <action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate 
ValueUtils.ValueUtils().</action>
       <!-- ADD -->
       <action issue="JXPATH-123" dev="mbenson" type="add">
         XPath function "ends-with" is not implemented (although "starts-with" 
is).
diff --git a/src/main/java/org/apache/commons/jxpath/util/ValueUtils.java 
b/src/main/java/org/apache/commons/jxpath/util/ValueUtils.java
index a9e037d..ea0076c 100644
--- a/src/main/java/org/apache/commons/jxpath/util/ValueUtils.java
+++ b/src/main/java/org/apache/commons/jxpath/util/ValueUtils.java
@@ -530,4 +530,14 @@ public class ValueUtils {
                     ex);
         }
     }
+    
+    /**
+     * Constructs a new instance.
+     *
+     * @deprecated Will be private in the next major version.
+     */
+    @Deprecated
+    public ValueUtils() {
+        // empty
+    }
 }

Reply via email to