Fixed Java warnings.

This commit is contained in:
sk89q
2010-12-29 23:15:53 -08:00
parent 687260801f
commit 912468f8a1
29 changed files with 57 additions and 46 deletions

View File

@@ -41,7 +41,7 @@ public class WorldEditBridge {
* @throws NoSuchMethodException
*/
private static Object invokeMethod(Object obj, String name, Object[] args,
Class ... types) throws InvocationTargetException, IllegalAccessException,
Class<?> ... types) throws InvocationTargetException, IllegalAccessException,
NoSuchMethodException {
Method method = obj.getClass().getDeclaredMethod(name, types);
return method.invoke(obj, args);