mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
Merge pull request #3992 from zhangzhiyong-ay/v5-dev
优化TreeBuilder append重复向idTreeMap中put问题
This commit is contained in:
@@ -188,7 +188,9 @@ public class TreeBuilder<E> implements Builder<Tree<E>> {
|
||||
}
|
||||
|
||||
}
|
||||
return append(map);
|
||||
// this.idTreeMap重复put
|
||||
// return append(map);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -224,7 +226,9 @@ public class TreeBuilder<E> implements Builder<Tree<E>> {
|
||||
}
|
||||
|
||||
}
|
||||
return append(map);
|
||||
// this.idTreeMap重复put
|
||||
// return append(map);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user