Skip to content

Commit 459bf39

Browse files
committed
Deprecate MethodLookupUtils.MethodLookupUtils()
1 parent e7e96e5 commit 459bf39

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/changes/changes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ The <action> type attribute can be add,update,fix,remove.
110110
<action dev="ggregory" type="fix" due-to="Gary Gregory">NodeSet.getPointers() is now typed with generics.</action>
111111
<action dev="ggregory" type="fix" due-to="Gary Gregory">ServletContextHandler.collectPropertyNames(HashSet, Object) is now typed with generics.</action>
112112
<action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate ClassLoaderUtil.ClassLoaderUtil().</action>
113+
<action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate MethodLookupUtils.MethodLookupUtils().</action>
113114
<!-- ADD -->
114115
<action issue="JXPATH-123" dev="mbenson" type="add">
115116
XPath function "ends-with" is not implemented (although "starts-with" is).

src/main/java/org/apache/commons/jxpath/util/MethodLookupUtils.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,4 +263,14 @@ private static int matchType(final Class expected, final Object object) {
263263
}
264264
return NO_MATCH;
265265
}
266+
267+
/**
268+
* Constructs a new instance.
269+
*
270+
* @deprecated Will be private in the next major version.
271+
*/
272+
@Deprecated
273+
public MethodLookupUtils() {
274+
// empty
275+
}
266276
}

0 commit comments

Comments
 (0)