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

commit aff03f1ec26723521b22faa0ae1d82908532a49d
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed May 22 09:20:55 2024 -0400

    Fix PMD DynamicCombinedConfiguration in AbstractImmutableNodeHandler
---
 src/changes/changes.xml                                                 | 1 +
 .../commons/configuration2/tree/AbstractImmutableNodeHandler.java       | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index bced2fdc..f5e80a02 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -45,6 +45,7 @@
       <action type="fix" dev="ggregory" due-to="Gary Gregory">Fix PMD 
DynamicCombinedConfiguration in PropertiesConfiguration.</action>
       <action type="fix" dev="ggregory" due-to="Gary Gregory">Fix PMD 
DynamicCombinedConfiguration in AbstractListDelimiterHandler.</action>
       <action type="fix" dev="ggregory" due-to="Gary Gregory">Fix PMD 
DynamicCombinedConfiguration in DefaultPrefixLookupsHolder.</action>
+      <action type="fix" dev="ggregory" due-to="Gary Gregory">Fix PMD 
DynamicCombinedConfiguration in AbstractImmutableNodeHandler.</action>
       <!-- UPDATE -->
       <action type="update" dev="ggregory" due-to="Dependabot">Bump 
commons-logging:commons-logging from 1.3.0 to 1.3.2 #390, #418.</action>
       <action type="update" dev="ggregory" due-to="Dependabot">Bump 
commons-io:commons-io from 2.15.1 to 2.16.1 #394, #400.</action>
diff --git 
a/src/main/java/org/apache/commons/configuration2/tree/AbstractImmutableNodeHandler.java
 
b/src/main/java/org/apache/commons/configuration2/tree/AbstractImmutableNodeHandler.java
index b0a44f0a..bdd7b3a8 100644
--- 
a/src/main/java/org/apache/commons/configuration2/tree/AbstractImmutableNodeHandler.java
+++ 
b/src/main/java/org/apache/commons/configuration2/tree/AbstractImmutableNodeHandler.java
@@ -113,7 +113,7 @@ abstract class AbstractImmutableNodeHandler implements 
NodeHandler<ImmutableNode
      */
     @Override
     public boolean isDefined(final ImmutableNode node) {
-        return AbstractImmutableNodeHandler.checkIfNodeDefined(node);
+        return checkIfNodeDefined(node);
     }
 
     @Override

Reply via email to