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-configuration.git
The following commit(s) were added to refs/heads/master by this push:
new 724181428 The constructor of a package private class doesn't need to
be public.
724181428 is described below
commit 7241814288bc43150a614f593d1accf9bed8b4c1
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Mar 17 09:07:00 2026 -0400
The constructor of a package private class doesn't need to be public.
---
.../apache/commons/configuration2/tree/xpath/XPathContextFactory.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/commons/configuration2/tree/xpath/XPathContextFactory.java
b/src/main/java/org/apache/commons/configuration2/tree/xpath/XPathContextFactory.java
index 9ddb8d609..164db9df0 100644
---
a/src/main/java/org/apache/commons/configuration2/tree/xpath/XPathContextFactory.java
+++
b/src/main/java/org/apache/commons/configuration2/tree/xpath/XPathContextFactory.java
@@ -37,7 +37,7 @@ class XPathContextFactory {
* @param <T> the type of the nodes to be handled
* @return the newly created context
*/
- public <T> JXPathContext createContext(final T root, final NodeHandler<T>
handler) {
+ <T> JXPathContext createContext(final T root, final NodeHandler<T>
handler) {
final JXPathContext context =
JXPathContext.newContext(ConfigurationNodePointerFactory.wrapNode(root,
handler));
context.setLenient(true);
return context;