优化TreeBuilder append重复向idTreeMap中put问题

优化TreeBuilder append重复向idTreeMap中put问题
This commit is contained in:
zhangzy 2025-07-16 17:41:34 +08:00 committed by GitHub
parent acac32fd50
commit 2b1bf5be59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
} }
/** /**