Statement.java (doExecute): Fix formatting.
authorJerry Quinn <jlquinn@optonline.net>
Wed, 30 Jun 2004 22:47:39 +0000 (22:47 +0000)
committerJerry Quinn <jlquinn@gcc.gnu.org>
Wed, 30 Jun 2004 22:47:39 +0000 (22:47 +0000)
2004-06-30  Jerry Quinn  <jlquinn@optonline.net>

* java/beans/Statement.java (doExecute): Fix formatting.

From-SVN: r83938

libjava/ChangeLog
libjava/java/beans/Statement.java

index 6f7489a792247d3be42fbcedbcde5ddb3c02ec30..7d43c4878b8d7653d6933b7f7645eed1a24ccb5a 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
+
+       * java/beans/Statement.java (doExecute): Fix formatting.
+
 2004-06-29  Per Bothner  <per@bothner.com>
 
        * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
index 7ee25bcafbc236d9b46cf81d9a13a33354dd6945..9b3c7af0a1396b5a6b7eda7b7ffbff650a79033e 100644 (file)
@@ -243,10 +243,12 @@ public class Statement
            }
              
            
-           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 @@ public class Statement
     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