mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-12-06 17:18:54 +08:00
优化TreeBuilder append重复向idTreeMap中put问题
优化TreeBuilder append重复向idTreeMap中put问题
This commit is contained in:
parent
acac32fd50
commit
2b1bf5be59
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user