Merge pull request #1868 from anaer/patch-10

Update TreeBuilder.java
This commit is contained in:
Golden Looly 2021-09-30 17:36:40 +08:00 committed by GitHub
commit 8039ed6df8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,6 @@ public class TreeBuilder<E> implements Builder<Tree<E>> {
public TreeBuilder<E> append(Map<E, Tree<E>> map) {
checkBuilt();
Assert.isFalse(isBuild, "Current tree has been built.");
this.idTreeMap.putAll(map);
return this;
}