Skip to content

Commit 3b95b59

Browse files
juzi214032colorful3
authored andcommitted
refactor(AdminServiceImpl): 为 ArrayList 增加泛型参数
1 parent e29404f commit 3b95b59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/io/github/talelin/latticy/service/impl/AdminServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public Map<String, List<PermissionDO>> getAllStructualPermissions() {
210210
if (res.containsKey(permission.getModule())) {
211211
res.get(permission.getModule()).add(permission);
212212
} else {
213-
ArrayList t = new ArrayList();
213+
ArrayList<PermissionDO> t = new ArrayList<>();
214214
t.add(permission);
215215
res.put(permission.getModule(), t);
216216
}

0 commit comments

Comments
 (0)