From accd841b515f5c825651bd424b7fc3b2a2a084bf Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Wed, 28 Sep 2011 08:04:17 +0200 Subject: [PATCH] Fixed a few warnings --- .../com/sk89q/bukkit/migration/PermissionsResolverManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/bukkit/migration/PermissionsResolverManager.java b/src/main/java/com/sk89q/bukkit/migration/PermissionsResolverManager.java index 90408cbf7..f282de0a3 100644 --- a/src/main/java/com/sk89q/bukkit/migration/PermissionsResolverManager.java +++ b/src/main/java/com/sk89q/bukkit/migration/PermissionsResolverManager.java @@ -59,6 +59,7 @@ public class PermissionsResolverManager implements PermissionsResolver { private String name; private Logger logger; + @SuppressWarnings("unchecked") protected Class[] availableResolvers = new Class[] { PluginPermissionsResolver.class, PermissionsExResolver.class, @@ -87,7 +88,7 @@ public class PermissionsResolverManager implements PermissionsResolver { } public void findResolver() { - for (Class resolverClass : availableResolvers) { + for (Class resolverClass : availableResolvers) { try { Method factoryMethod = resolverClass.getMethod("factory", Server.class, Configuration.class);