mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
简化代码
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user