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 d77c0fae3eb360921a7fc6116bd0d730f2f15cc7
Author: Gary D. Gregory <[email protected]>
AuthorDate: Sun Mar 16 19:58:22 2025 -0400

    Don't initialize instance variables to their default values
---
 .../java/org/apache/commons/jxpath/ri/axes/DescendantContext.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/jxpath/ri/axes/DescendantContext.java 
b/src/main/java/org/apache/commons/jxpath/ri/axes/DescendantContext.java
index 5b236e4..6159a10 100644
--- a/src/main/java/org/apache/commons/jxpath/ri/axes/DescendantContext.java
+++ b/src/main/java/org/apache/commons/jxpath/ri/axes/DescendantContext.java
@@ -34,9 +34,9 @@ public class DescendantContext extends EvalContext {
 
     private static final NodeTest ELEMENT_NODE_TEST = new 
NodeTypeTest(Compiler.NODE_TYPE_NODE);
     private final NodeTest nodeTest;
-    private boolean setStarted = false;
-    private Stack<NodeIterator> stack = null;
-    private NodePointer currentNodePointer = null;
+    private boolean setStarted;
+    private Stack<NodeIterator> stack;
+    private NodePointer currentNodePointer;
     private final boolean includeSelf;
 
     /**

Reply via email to