Ver Fonte

简化代码

everywhere.z há 7 meses atrás
pai
commit
b32b34f919

+ 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<>();
 		List<Node> resultList = new ArrayList<>();
 
 
-		executableList.stream().forEach(executable -> {
+		executableList.forEach(executable -> {
             if (executable instanceof Condition){
             if (executable instanceof Condition){
                 resultList.addAll(((Condition)executable).getAllNodeInCondition());
                 resultList.addAll(((Condition)executable).getAllNodeInCondition());
             }else if(executable instanceof Node){
             }else if(executable instanceof Node){