summaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-30 13:35:15 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-30 13:35:15 +0000
commitdb8cab804f7dbc8250d60e2caeebcb05b1b57713 (patch)
treec30e5b77f73b74e5951adab846077f49060dc369 /libjava/java
parentd94d182318f0e9c90a13276cc616463ade5f1c48 (diff)
downloadgcc-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/java')
-rw-r--r--libjava/java/awt/im/InputContext.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/libjava/java/awt/im/InputContext.java b/libjava/java/awt/im/InputContext.java
index ab483377d4f..c8e7cf35a4c 100644
--- a/libjava/java/awt/im/InputContext.java
+++ b/libjava/java/awt/im/InputContext.java
@@ -86,20 +86,20 @@ public class InputContext
private static final ArrayList descriptors = new ArrayList();
static
{
- Enumeration enum;
+ Enumeration e;
try
{
- enum = ClassLoader.getSystemResources
+ e = ClassLoader.getSystemResources
("META_INF/services/java.awt.im.spi.InputMethodDescriptor");
}
catch (IOException ex)
{
// XXX Should we do something else?
- enum = EmptyEnumeration.getInstance();
+ e = EmptyEnumeration.getInstance();
}
- while (enum.hasMoreElements())
+ while (e.hasMoreElements())
{
- URL url = (URL) enum.nextElement();
+ URL url = (URL) e.nextElement();
BufferedReader in;
String line;
try
@@ -125,7 +125,7 @@ public class InputContext
}
line = in.readLine().trim();
}
- catch (IOException e)
+ catch (IOException ex)
{
continue outer;
}