summaryrefslogtreecommitdiffstats
path: root/libjava/java
diff options
context:
space:
mode:
authorjlquinn <jlquinn@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-30 22:47:39 +0000
committerjlquinn <jlquinn@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-30 22:47:39 +0000
commit2fadb29aa19625852934eb92cd7a6fc23f0f316b (patch)
tree61d3a625d313760b2b2aab78687e885d586bd8eb /libjava/java
parent8f9758e67bf7e0b4f74bd5d60c941ef0ca93aff5 (diff)
downloadppe42-gcc-2fadb29aa19625852934eb92cd7a6fc23f0f316b.tar.gz
ppe42-gcc-2fadb29aa19625852934eb92cd7a6fc23f0f316b.zip
2004-06-30 Jerry Quinn <jlquinn@optonline.net>
* java/beans/Statement.java (doExecute): Fix formatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83938 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
-rw-r--r--libjava/java/beans/Statement.java15
1 files changed, 10 insertions, 5 deletions
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
OpenPOWER on IntegriCloud