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/04/21 11:34:08 UTC
[solr] branch main updated: Revert "SOLR-16119 DataConfigNode doesn't honor abortable forEach (#766)"
This is an automated email from the ASF dual-hosted git repository.
noble pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 2460d4612ba Revert "SOLR-16119 DataConfigNode doesn't honor abortable forEach (#766)"
2460d4612ba is described below
commit 2460d4612babda3696ba86c3131ab647701b4561
Author: Noble Paul <no...@gmail.com>
AuthorDate: Thu Apr 21 21:33:34 2022 +1000
Revert "SOLR-16119 DataConfigNode doesn't honor abortable forEach (#766)"
This reverts commit 19d9c4cec65eeddd88648dd5313a7d46600019e9.
---
solr/core/src/java/org/apache/solr/util/DataConfigNode.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
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 f6d2880f43f..e8a00075031 100644
--- a/solr/core/src/java/org/apache/solr/util/DataConfigNode.java
+++ b/solr/core/src/java/org/apache/solr/util/DataConfigNode.java
@@ -129,9 +129,7 @@ public class DataConfigNode implements ConfigNode {
kids.forEachEntry(
(s, configNodes) -> {
if (configNodes != null) {
- for (ConfigNode node : configNodes) {
- if (Boolean.FALSE == fun.apply(node)) break;
- }
+ configNodes.forEach(fun::apply);
}
});
}