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 0c7f1fcafcd25fcca2db8ade56c53356b77dfa8f
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Jul 1 09:48:29 2024 -0400

    Exit loop ASAP
---
 .../commons/configuration2/tree/xpath/TestXPathExpressionEngine.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/src/test/java/org/apache/commons/configuration2/tree/xpath/TestXPathExpressionEngine.java
 
b/src/test/java/org/apache/commons/configuration2/tree/xpath/TestXPathExpressionEngine.java
index e5a9949b..9408341b 100644
--- 
a/src/test/java/org/apache/commons/configuration2/tree/xpath/TestXPathExpressionEngine.java
+++ 
b/src/test/java/org/apache/commons/configuration2/tree/xpath/TestXPathExpressionEngine.java
@@ -266,6 +266,7 @@ public class TestXPathExpressionEngine {
         for (final NodePointerFactory factory : factories) {
             if (factory instanceof ConfigurationNodePointerFactory) {
                 found = true;
+                break;
             }
         }
         assertTrue(found);

Reply via email to