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 459bf3976a2c41f99b4ee0ece88f26308ca64e04
Author: Gary D. Gregory <[email protected]>
AuthorDate: Sun Mar 16 19:00:44 2025 -0400

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

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 950928c..17caecf 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -110,6 +110,7 @@ The <action> type attribute can be add,update,fix,remove.
       <action dev="ggregory" type="fix" due-to="Gary 
Gregory">NodeSet.getPointers() is now typed with generics.</action>
       <action dev="ggregory" type="fix" due-to="Gary 
Gregory">ServletContextHandler.collectPropertyNames(HashSet, Object) is now 
typed with generics.</action>
       <action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate 
ClassLoaderUtil.ClassLoaderUtil().</action>
+      <action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate 
MethodLookupUtils.MethodLookupUtils().</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/MethodLookupUtils.java 
b/src/main/java/org/apache/commons/jxpath/util/MethodLookupUtils.java
index 7efbbcd..7402069 100644
--- a/src/main/java/org/apache/commons/jxpath/util/MethodLookupUtils.java
+++ b/src/main/java/org/apache/commons/jxpath/util/MethodLookupUtils.java
@@ -263,4 +263,14 @@ public class MethodLookupUtils {
         }
         return NO_MATCH;
     }
+    
+    /**
+     * Constructs a new instance.
+     *
+     * @deprecated Will be private in the next major version.
+     */
+    @Deprecated
+    public MethodLookupUtils() {
+        // empty
+    }
 }

Reply via email to