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 c8c9c7cff3b3806b0169be6ab709c9466d3f3cc7
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Jun 23 10:01:10 2024 -0400

    Fix PMD UnnecessaryFullyQualifiedName
---
 src/main/java/org/apache/commons/jxpath/ri/compiler/TreeCompiler.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/jxpath/ri/compiler/TreeCompiler.java 
b/src/main/java/org/apache/commons/jxpath/ri/compiler/TreeCompiler.java
index 3f90894..2fb074d 100644
--- a/src/main/java/org/apache/commons/jxpath/ri/compiler/TreeCompiler.java
+++ b/src/main/java/org/apache/commons/jxpath/ri/compiler/TreeCompiler.java
@@ -223,7 +223,7 @@ public class TreeCompiler implements Compiler {
         if (steps.length != 1) {
             return false;
         }
-        if (steps[0].getAxis() != Compiler.AXIS_ATTRIBUTE) {
+        if (steps[0].getAxis() != AXIS_ATTRIBUTE) {
             return false;
         }
         final NodeTest test = steps[0].getNodeTest();

Reply via email to