提交 6acc0e0d 编写于 作者: M mxd

去除无用代码

上级 20709c12
......@@ -66,8 +66,6 @@ public interface GroupServiceProvider {
Resource getGroupResource(String groupId);
List<String> getGroupsWithoutGroups(List<String> groupIds);
default String getScriptName(String groupId, String name, String path) {
return PathUtils.replaceSlash("/" + getFullName(groupId) + "/" + name) + "(" + PathUtils.replaceSlash(getFullPath(groupId) + "/" + path) + ")";
}
......
......@@ -172,11 +172,6 @@ public class DefaultGroupServiceProvider implements GroupServiceProvider {
return resource == null ? null : resource.parent();
}
@Override
public List<String> getGroupsWithoutGroups(List<String> groupIds) {
return this.mappings.keySet().stream().filter(groupId -> !groupIds.contains(groupId)).collect(Collectors.toList());
}
private TreeNode<Group> convertToTree(List<Group> groups) {
TreeNode<Group> root = new TreeNode<>();
root.setNode(new Group("0", "root"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册