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 590e2b57302460049e9bd2ef8f7c126805b9c41f Author: Gary D. Gregory <[email protected]> AuthorDate: Sun Mar 16 19:03:17 2025 -0400 Deprecate KeyManagerUtils.KeyManagerUtils() --- src/changes/changes.xml | 1 + .../java/org/apache/commons/jxpath/util/KeyManagerUtils.java | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 17caecf..ae4a47a 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -111,6 +111,7 @@ The <action> type attribute can be add,update,fix,remove. <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> + <action dev="ggregory" type="fix" due-to="Gary Gregory">Deprecate KeyManagerUtils.KeyManagerUtils().</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/KeyManagerUtils.java b/src/main/java/org/apache/commons/jxpath/util/KeyManagerUtils.java index 94aee8c..3e832fa 100644 --- a/src/main/java/org/apache/commons/jxpath/util/KeyManagerUtils.java +++ b/src/main/java/org/apache/commons/jxpath/util/KeyManagerUtils.java @@ -71,4 +71,14 @@ public class KeyManagerUtils { public static ExtendedKeyManager getExtendedKeyManager(final KeyManager keyManager) { return keyManager instanceof ExtendedKeyManager ? (ExtendedKeyManager) keyManager : new SingleNodeExtendedKeyManager(keyManager); } + + /** + * Constructs a new instance. + * + * @deprecated Will be private in the next major version. + */ + @Deprecated + public KeyManagerUtils() { + // empty + } }
