소스 검색

简化代码

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){