This commit is contained in:
Looly
2020-12-22 17:04:56 +08:00
parent 9701a9619c
commit 9a181facc2
2 changed files with 3 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
-------------------------------------------------------------------------------------------------------------
# 5.5.5 (2020-12-18)
# 5.5.5 (2020-12-22)
### 新特性
* 【core 】 URLUtil.normalize新增重载pr#233@Gitee
@@ -14,6 +14,7 @@
### Bug修复
* 【core 】 FileUtil.isSub相对路径判断问题pr#1315@Github
* 【core 】 TreeUtil增加空判定issue#I2ACCW@Gitee
-------------------------------------------------------------------------------------------------------------
# 5.5.4 (2020-12-16)

View File

@@ -74,7 +74,7 @@ public class TreeUtil {
List<Tree<E>> finalTreeList = CollUtil.newArrayList();
for (Tree<E> node : treeList) {
if (parentId.equals(node.getParentId())) {
if (ObjectUtil.equals(parentId,node.getParentId())) {
finalTreeList.add(node);
innerBuild(treeList, node, 0, treeNodeConfig.getDeep());
}