From: jlquinn Date: Wed, 30 Jun 2004 22:47:39 +0000 (+0000) Subject: 2004-06-30 Jerry Quinn X-Git-Tag: upstream/4.9.2~70070 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2fadb29aa19625852934eb92cd7a6fc23f0f316b;p=platform%2Fupstream%2Flinaro-gcc.git 2004-06-30 Jerry Quinn * java/beans/Statement.java (doExecute): Fix formatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83938 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 6f7489a..7d43c48 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 7ee25bc..9b3c7af 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