Index: gnu/java/beans/BeanInfoEmbryo.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/java/beans/BeanInfoEmbryo.java,v retrieving revision 1.8 diff -u -b -B -r1.8 BeanInfoEmbryo.java --- gnu/java/beans/BeanInfoEmbryo.java 23 Apr 2004 21:13:20 -0000 1.8 +++ gnu/java/beans/BeanInfoEmbryo.java 21 May 2004 07:52:26 -0000 @@ -85,9 +85,9 @@ 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 @@ 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; } Index: java/awt/im/InputContext.java =================================================================== RCS file: /cvsroot/classpath/classpath/java/awt/im/InputContext.java,v retrieving revision 1.3 diff -u -b -B -r1.3 InputContext.java --- java/awt/im/InputContext.java 11 Jul 2003 17:50:02 -0000 1.3 +++ java/awt/im/InputContext.java 21 May 2004 07:52:26 -0000 @@ -86,20 +86,20 @@ 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 @@ } line = in.readLine().trim(); } - catch (IOException e) + catch (IOException ex) { continue outer; } Index: java/io/SequenceInputStream.java =================================================================== RCS file: /cvsroot/classpath/classpath/java/io/SequenceInputStream.java,v retrieving revision 1.6 diff -u -b -B -r1.6 SequenceInputStream.java --- java/io/SequenceInputStream.java 22 Jan 2002 22:26:59 -0000 1.6 +++ java/io/SequenceInputStream.java 21 May 2004 07:52:26 -0000 @@ -71,8 +71,8 @@ /** Secondary input stream; not used if constructed w/ enumeration. */ private InputStream in2; - /** The enum handle; not used if constructed w/ 2 explicit input streams. */ - private Enumeration enum; + /** The enumeration handle; not used if constructed w/ 2 explicit input streams. */ + private Enumeration e; /** * This method creates a new SequenceInputStream that obtains @@ -84,8 +84,8 @@ */ public SequenceInputStream(Enumeration e) { - enum = e; - in = (InputStream) enum.nextElement(); + this.e = e; + in = (InputStream) e.nextElement(); in2 = null; } @@ -204,10 +204,10 @@ { InputStream nextIn = null; - if (enum != null) + if (e != null) { - if (enum.hasMoreElements()) - nextIn = (InputStream) enum.nextElement(); + if (e.hasMoreElements()) + nextIn = (InputStream) e.nextElement(); } else if (in2 != null) Index: java/util/zip/ZipOutputStream.java =================================================================== RCS file: /cvsroot/classpath/classpath/java/util/zip/ZipOutputStream.java,v retrieving revision 1.7 diff -u -b -B -r1.7 ZipOutputStream.java --- java/util/zip/ZipOutputStream.java 18 Jun 2003 09:42:57 -0000 1.7 +++ java/util/zip/ZipOutputStream.java 21 May 2004 07:52:26 -0000 @@ -338,10 +338,10 @@ int numEntries = 0; int sizeEntries = 0; - Enumeration enum = entries.elements(); - while (enum.hasMoreElements()) + Enumeration e = entries.elements(); + while (e.hasMoreElements()) { - ZipEntry entry = (ZipEntry) enum.nextElement(); + ZipEntry entry = (ZipEntry) e.nextElement(); int method = entry.getMethod(); writeLeInt(CENSIG); Index: javax/swing/plaf/basic/BasicLookAndFeel.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,v retrieving revision 1.7 diff -u -b -B -r1.7 BasicLookAndFeel.java --- javax/swing/plaf/basic/BasicLookAndFeel.java 17 Apr 2004 23:24:46 -0000 1.7 +++ javax/swing/plaf/basic/BasicLookAndFeel.java 21 May 2004 07:52:27 -0000 @@ -205,15 +205,15 @@ private void loadResourceBundle(UIDefaults defaults) { ResourceBundle bundle; - Enumeration enum; + Enumeration e; String key; String value; bundle = ResourceBundle.getBundle("resources/basic"); // Process Resources - enum = bundle.getKeys(); - while (enum.hasMoreElements()) + e = bundle.getKeys(); + while (e.hasMoreElements()) { - key = (String) enum.nextElement(); + key = (String) e.nextElement(); value = bundle.getString(key); defaults.put(key, value); } Index: javax/swing/tree/DefaultMutableTreeNode.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/tree/DefaultMutableTreeNode.java,v retrieving revision 1.4 diff -u -b -B -r1.4 DefaultMutableTreeNode.java --- javax/swing/tree/DefaultMutableTreeNode.java 12 Oct 2003 16:48:34 -0000 1.4 +++ javax/swing/tree/DefaultMutableTreeNode.java 21 May 2004 07:52:27 -0000 @@ -997,17 +997,17 @@ public int getLeafCount() { // Variables - Enumeration enum; + Enumeration e; int count; TreeNode current; // Get Enumeration of all descendants - enum = depthFirstEnumeration(); + e = depthFirstEnumeration(); // Process Nodes count = 0; - while (enum.hasMoreElements() == true) { - current = (TreeNode) enum.nextElement(); + while (e.hasMoreElements() == true) { + current = (TreeNode) e.nextElement(); if (current.isLeaf() == true) { count++; } // if