diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-30 13:35:15 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-30 13:35:15 +0000 |
commit | db8cab804f7dbc8250d60e2caeebcb05b1b57713 (patch) | |
tree | c30e5b77f73b74e5951adab846077f49060dc369 /libjava/gnu/java/beans | |
parent | d94d182318f0e9c90a13276cc616463ade5f1c48 (diff) | |
download | gcc-db8cab804f7dbc8250d60e2caeebcb05b1b57713.tar.gz |
2004-05-30 Michael Koch <konqueror@gmx.de>
* gnu/java/beans/BeanInfoEmbryo.java,
java/awt/im/InputContext.java,
javax/swing/tree/DefaultMutableTreeNode.java:
Rename enum to e because enum is a keyword in Java 1.5.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82447 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/beans')
-rw-r--r-- | libjava/gnu/java/beans/BeanInfoEmbryo.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libjava/gnu/java/beans/BeanInfoEmbryo.java b/libjava/gnu/java/beans/BeanInfoEmbryo.java index 16738fe6048..2dc1166527e 100644 --- a/libjava/gnu/java/beans/BeanInfoEmbryo.java +++ b/libjava/gnu/java/beans/BeanInfoEmbryo.java @@ -85,9 +85,9 @@ public class BeanInfoEmbryo { PropertyDescriptor[] Aproperties = new PropertyDescriptor[properties.size()]; int i = 0; - Enumeration enum = properties.elements(); - while(enum.hasMoreElements()) { - Aproperties[i] = (PropertyDescriptor)enum.nextElement(); + Enumeration e = properties.elements(); + while (e.hasMoreElements()) { + Aproperties[i] = (PropertyDescriptor) e.nextElement(); if(defaultPropertyName != null && Aproperties[i].getName().equals(defaultPropertyName)) { defaultProperty = i; } @@ -96,9 +96,9 @@ public class BeanInfoEmbryo { EventSetDescriptor[] Aevents = new EventSetDescriptor[events.size()]; i = 0; - enum = events.elements(); - while(enum.hasMoreElements()) { - Aevents[i] = (EventSetDescriptor)enum.nextElement(); + e = events.elements(); + while (e.hasMoreElements()) { + Aevents[i] = (EventSetDescriptor) e.nextElement(); if(defaultEventName != null && Aevents[i].getName().equals(defaultEventName)) { defaultEvent = i; } |