This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[patch] Fix Statement.java formatting
- From: Jerry Quinn <jlquinn at optonline dot net>
- To: java-patches at gcc dot gnu dot org
- Date: Wed, 30 Jun 2004 18:55:41 -0400
- Subject: [patch] Fix Statement.java formatting
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