Agent: Skip branching in case of empty template inputs;
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -4,7 +4,7 @@
|
|||||||
<artifactId>lm-lib</artifactId>
|
<artifactId>lm-lib</artifactId>
|
||||||
<groupId>de.extio</groupId>
|
<groupId>de.extio</groupId>
|
||||||
<name>lm-lib</name>
|
<name>lm-lib</name>
|
||||||
<version>1.5.6</version>
|
<version>1.5.7</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>21</java.version>
|
<java.version>21</java.version>
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ public interface BaseAgent {
|
|||||||
branchedEntriesMinCntValues = branchedEntriesMinCntValues == 0 ? entry.getValue().size() : Math.min(branchedEntriesMinCntValues, entry.getValue().size());
|
branchedEntriesMinCntValues = branchedEntriesMinCntValues == 0 ? entry.getValue().size() : Math.min(branchedEntriesMinCntValues, entry.getValue().size());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!branchedEntries.isEmpty()) {
|
if (!branchedEntries.isEmpty() && branchedEntriesMinCntValues > 0) {
|
||||||
final var result = new ArrayList<Split>();
|
final var result = new ArrayList<Split>();
|
||||||
|
|
||||||
for (int i = 0; i < branchedEntriesMinCntValues; i++) {
|
for (int i = 0; i < branchedEntriesMinCntValues; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user