mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-09 20:57:23 +08:00
refactor: 优化部分代码
修复 Codacy 扫描问题
This commit is contained in:
@@ -36,9 +36,6 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
public class TreeUtils {
|
public class TreeUtils {
|
||||||
|
|
||||||
private TreeUtils() {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 默认字段配置对象(根据前端树结构灵活调整名称)
|
* 默认字段配置对象(根据前端树结构灵活调整名称)
|
||||||
*/
|
*/
|
||||||
@@ -46,6 +43,9 @@ public class TreeUtils {
|
|||||||
.setIdKey("key")
|
.setIdKey("key")
|
||||||
.setWeightKey("sort");
|
.setWeightKey("sort");
|
||||||
|
|
||||||
|
private TreeUtils() {
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 树构建
|
* 树构建
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user