Fixed a bunch of type safety bits pointed out by the latest version of Eclipse.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5274 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-07-30 12:58:51 +00:00
parent ca4c5897fb
commit 725f656197
77 changed files with 248 additions and 250 deletions
@@ -45,7 +45,7 @@ public class ClassUtil
*/
public static Method getMethod (String name, Object target, Map<String, Method> cache)
{
Class tclass = target.getClass();
Class<?> tclass = target.getClass();
String key = tclass.getName() + ":" + name;
Method method = cache.get(key);
@@ -71,7 +71,7 @@ public class ClassUtil
*/
public static Method getMethod (String name, Object target, Object[] args)
{
Class tclass = target.getClass();
Class<?> tclass = target.getClass();
Method meth = null;
try {
@@ -98,7 +98,7 @@ public class ClassUtil
* @return the method with the specified name or null if no method with that name could be
* found.
*/
public static Method findMethod (Class clazz, String name)
public static Method findMethod (Class<?> clazz, String name)
{
Method[] methods = clazz.getMethods();
for (int i = 0; i < methods.length; i++) {