yangys
2024-04-15 f2531a5dd1cac34553eeeb6cb847c706ccd7e014
smart-core-tool/src/main/java/com/qianwen/core/tool/node/basic/TreeUtil.java
@@ -3,7 +3,6 @@
import java.util.ArrayList;
import java.util.List;
/* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/node/basic/TreeUtil.class */
public final class TreeUtil {
    private TreeUtil() {
        throw new UnsupportedOperationException("This is a utility class and cannot be instantiated");
@@ -18,7 +17,7 @@
            for (T it : treeNodes) {
                if (it.getParentId().equals(treeNode.getId())) {
                    if (treeNode.getChildren() == null) {
                        treeNode.setChildren(new ArrayList());
                        treeNode.setChildren(new ArrayList<>());
                    }
                    treeNode.add(it);
                }