浏览代码

简化代码

everywhere.z 7 月之前
父节点
当前提交
b32b34f919
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      liteflow-core/src/main/java/com/yomahub/liteflow/flow/element/Condition.java

+ 1 - 1
liteflow-core/src/main/java/com/yomahub/liteflow/flow/element/Condition.java

@@ -113,7 +113,7 @@ public abstract class Condition implements Executable{
 
 		List<Node> resultList = new ArrayList<>();
 
-		executableList.stream().forEach(executable -> {
+		executableList.forEach(executable -> {
             if (executable instanceof Condition){
                 resultList.addAll(((Condition)executable).getAllNodeInCondition());
             }else if(executable instanceof Node){