简化代码

This commit is contained in:
everywhere.z
2024-10-10 15:46:39 +08:00
parent 8d0a193a39
commit b32b34f919

View File

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