mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-08 10:46:37 +08:00
fix: use mutable empty set in group tunnel sync
This commit is contained in:
@@ -583,7 +583,7 @@ public class GroupServiceImpl implements GroupService {
|
|||||||
|
|
||||||
private Set<Long> buildGroupManagedUserTunnelIds(Set<Long> userTunnelIds) {
|
private Set<Long> buildGroupManagedUserTunnelIds(Set<Long> userTunnelIds) {
|
||||||
if (userTunnelIds.isEmpty()) {
|
if (userTunnelIds.isEmpty()) {
|
||||||
return Collections.emptySet();
|
return new HashSet<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
return groupPermissionGrantMapper.selectList(new QueryWrapper<GroupPermissionGrant>()
|
return groupPermissionGrantMapper.selectList(new QueryWrapper<GroupPermissionGrant>()
|
||||||
|
|||||||
Reference in New Issue
Block a user