修改issue #I5CTFZ 所造成的测试用例的不过的问题

This commit is contained in:
everywhere.z
2022-06-17 22:40:33 +08:00
parent da73d04ab6
commit d4a77095c4
2 changed files with 0 additions and 9 deletions

View File

@@ -83,9 +83,6 @@ public class LiteFlowChainBuilder {
if (StrUtil.isBlank(this.chain.getChainName())) {
errorList.add("name is blank");
}
if (CollUtil.isEmpty(this.chain.getConditionList())) {
errorList.add("conditionList is empty");
}
if (CollUtil.isNotEmpty(errorList)) {
throw new RuntimeException(CollUtil.join(errorList, ",", "[", "]"));
}

View File

@@ -146,15 +146,9 @@ public class LiteFlowNodeBuilder {
if (StrUtil.isBlank(this.node.getId())) {
errorList.add("id is blank");
}
if (StrUtil.isBlank(this.node.getName())) {
errorList.add("name is blank");
}
if (Objects.isNull(this.node.getType())) {
errorList.add("type is null");
}
if (StrUtil.isBlank(this.node.getClazz())) {
errorList.add("clazz is blank");
}
if (CollUtil.isNotEmpty(errorList)) {
throw new NodeBuildException(CollUtil.join(errorList, ",", "[", "]"));
}