You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by no...@apache.org on 2022/03/26 23:05:16 UTC
[solr] 01/01: bug fixed
This is an automated email from the ASF dual-hosted git repository.
noble pushed a commit to branch jira/SOLR-16119
in repository https://gitbox.apache.org/repos/asf/solr.git
commit d0685d3a58550b85e21a6043562b8bb27a0adbb8
Author: Noble Paul <no...@gmail.com>
AuthorDate: Sun Mar 27 10:05:02 2022 +1100
bug fixed
---
solr/core/src/java/org/apache/solr/util/DataConfigNode.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/solr/core/src/java/org/apache/solr/util/DataConfigNode.java b/solr/core/src/java/org/apache/solr/util/DataConfigNode.java
index e8a0007..d47a40f 100644
--- a/solr/core/src/java/org/apache/solr/util/DataConfigNode.java
+++ b/solr/core/src/java/org/apache/solr/util/DataConfigNode.java
@@ -129,7 +129,9 @@ public class DataConfigNode implements ConfigNode {
kids.forEachEntry(
(s, configNodes) -> {
if (configNodes != null) {
- configNodes.forEach(fun::apply);
+ for (ConfigNode node : configNodes) {
+ if(!fun.apply(node)) break;
+ }
}
});
}