From dcfbe7c7d9bf93e65a27c44c0433ac5316610c2c Mon Sep 17 00:00:00 2001 From: Jerry Quinn Date: Wed, 30 Jun 2004 22:47:39 +0000 Subject: [PATCH] Statement.java (doExecute): Fix formatting. 2004-06-30 Jerry Quinn * java/beans/Statement.java (doExecute): Fix formatting. From-SVN: r83938 --- libjava/ChangeLog | 4 ++++ libjava/java/beans/Statement.java | 15 ++++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 6f7489a7922..7d43c4878b8 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2004-06-30 Jerry Quinn + + * java/beans/Statement.java (doExecute): Fix formatting. + 2004-06-29 Per Bothner * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef, diff --git a/libjava/java/beans/Statement.java b/libjava/java/beans/Statement.java index 7ee25bcafbc..9b3c7af0a13 100644 --- a/libjava/java/beans/Statement.java +++ b/libjava/java/beans/Statement.java @@ -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 -- 2.30.2