From 542aed6ffd499dce754c24e91e63620743ed88c0 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Mon, 24 Oct 2011 04:32:02 +0200 Subject: [PATCH] Fixed warnings. --- .../com/sk89q/bukkit/migration/PermissionsResolverManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/sk89q/bukkit/migration/PermissionsResolverManager.java b/src/main/java/com/sk89q/bukkit/migration/PermissionsResolverManager.java index b6a81c839..1ffccbcd0 100644 --- a/src/main/java/com/sk89q/bukkit/migration/PermissionsResolverManager.java +++ b/src/main/java/com/sk89q/bukkit/migration/PermissionsResolverManager.java @@ -141,7 +141,6 @@ public class PermissionsResolverManager implements PermissionsResolver { return permissionResolver.getGroups(player); } - @SuppressWarnings("unchecked") private boolean loadConfig(File file) { boolean isUpdated = false; if (!file.exists()) { @@ -167,7 +166,7 @@ public class PermissionsResolverManager implements PermissionsResolver { } if (!keys.contains("resolvers")) { - List resolverKeys = config.getKeys("resolvers"); + //List resolverKeys = config.getKeys("resolvers"); List resolvers = new ArrayList(); for (Class clazz : availableResolvers) { resolvers.add(clazz.getSimpleName());