Use parametrized reflection to remove warnings

This commit is contained in:
durron597
2011-01-01 17:08:32 -05:00
parent 8d9cb73cbf
commit 7845f58d1a
2 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ public interface PluginManager {
* @param loader Class name of the PluginLoader to register
* @throws IllegalArgumentException Thrown when the given Class is not a valid PluginLoader
*/
public void RegisterInterface(Class loader) throws IllegalArgumentException;
public void RegisterInterface(Class<? extends PluginLoader> loader) throws IllegalArgumentException;
/**
* Checks if the given plugin is loaded and returns it when applicable