mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-12-07 01:28:34 +08:00
Merge pull request #3992 from zhangzhiyong-ay/v5-dev
优化TreeBuilder append重复向idTreeMap中put问题
This commit is contained in:
commit
40599b028e
@ -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