Useless LinkedHashMap (not always xD)

This commit is contained in:
Michel Roux 2012-05-09 18:59:49 +02:00
parent 346533098d
commit 77436631a4

View File

@ -228,7 +228,7 @@ public class SimplyPlugin extends JavaPlugin {
private Map<String, Boolean> calculateGroupPermissions(String group, String world) { private Map<String, Boolean> calculateGroupPermissions(String group, String world) {
if (getNode("groups/" + group) == null) { if (getNode("groups/" + group) == null) {
return new LinkedHashMap<String, Boolean>(); return new HashMap<String, Boolean>();
} }
Map<String, Boolean> perms = config.getGroupPermissions(group); Map<String, Boolean> perms = config.getGroupPermissions(group);