Prune trailing whitespace & foreachize loops.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5799 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Dave Hoover
2009-05-23 01:56:35 +00:00
parent b222eed2fd
commit e13aca6570
9 changed files with 24 additions and 24 deletions
@@ -100,9 +100,9 @@ public class ClassUtil
public static Method findMethod (Class<?> clazz, String name)
{
Method[] methods = clazz.getMethods();
for (int i = 0; i < methods.length; i++) {
if (methods[i].getName().equals(name)) {
return methods[i];
for (Method method : methods) {
if (method.getName().equals(name)) {
return method;
}
}
return null;