Fix null check in selectAllGroupPermissions

This commit is contained in:
Luck 2020-05-11 13:12:30 +01:00
parent fca2f1e6de
commit 6a256d59f5
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -883,7 +883,7 @@ public class SqlStorage implements StorageImplementation {
while (rs.next()) { while (rs.next()) {
String holder = rs.getString("name"); String holder = rs.getString("name");
Collection<SqlNode> list = nodes.get(holder); Collection<SqlNode> list = nodes.get(holder);
if (nodes != null) { if (list != null) {
list.add(readNode(rs)); list.add(readNode(rs));
} }
} }