This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]