Update TreeBuilder.java

跟上面的checkBuilt(); 重复了
This commit is contained in:
anaer 2021-09-30 14:54:31 +08:00 committed by GitHub
parent 58355265ff
commit c50b1b302f
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;
}