[patch] Fix Statement.java formatting
Jerry Quinn
jlquinn@optonline.net
Wed Jun 30 23:13:00 GMT 2004
Obvious. Committed.
2004-06-30 Jerry Quinn <jlquinn@optonline.net>
* java/beans/Statement.java (doExecute): Fix formatting.
--- Statement.java.~1.1.~ 2004-06-28 21:28:28.000000000 -0400
+++ Statement.java 2004-06-30 18:47:27.000000000 -0400
@@ -243,10 +243,12 @@
}
- if (ptypes.length != args.length) continue;
+ if (ptypes.length != args.length)
+ continue;
// Check if method matches
- if (!compatible(ptypes, argTypes)) continue;
+ if (!compatible(ptypes, argTypes))
+ continue;
// Use method[i] if it is more specific.
// FIXME: should this check both directions and throw if
@@ -270,12 +272,15 @@
for (int i = 0; i < methods.length; i++)
{
// Skip methods with wrong name or number of args.
- if (!methods[i].getName().equals(methodName)) continue;
+ if (!methods[i].getName().equals(methodName))
+ continue;
Class ptypes[] = methods[i].getParameterTypes();
- if (ptypes.length != args.length) continue;
+ if (ptypes.length != args.length)
+ continue;
// Check if method matches
- if (!compatible(ptypes, argTypes)) continue;
+ if (!compatible(ptypes, argTypes))
+ continue;
// Use method[i] if it is more specific.
// FIXME: should this check both directions and throw if
More information about the Java-patches
mailing list