mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Fixed a few warnings
This commit is contained in:
parent
2d7c462477
commit
accd841b51
@ -59,6 +59,7 @@ public class PermissionsResolverManager implements PermissionsResolver {
|
||||
private String name;
|
||||
private Logger logger;
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
protected Class<? extends PermissionsResolver>[] 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<? extends PermissionsResolver> resolverClass : availableResolvers) {
|
||||
try {
|
||||
Method factoryMethod = resolverClass.getMethod("factory", Server.class, Configuration.class);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user