-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Setting a sub termination config list using TerminationConfig.setTerminationConfigList(List<TerminationConfig>) will not create the termination when buildTermination is called. The problem is due to an error in TerminationConfig.java:179.
if (terminationConfigList != null && terminationConfigList.isEmpty()) {
for (TerminationConfig terminationConfig : terminationConfigList) {
Termination termination = terminationConfig.buildTermination(scoreDefinition);
if (termination != null)
}
}
The boolean expression terminationConfigList.isEmpty() should become !terminationConfigList.isEmpty().