diff options
| author | Michael Koch <konqueror@gmx.de> | 2004-05-21 07:54:32 +0000 |
|---|---|---|
| committer | Michael Koch <konqueror@gmx.de> | 2004-05-21 07:54:32 +0000 |
| commit | 6cf15fdff5199612ffb2f52507b241e658ff3cac (patch) | |
| tree | bfe6d121c133782d0c58d8ce944337d67aac54d6 /java/util/zip/ZipOutputStream.java | |
| parent | f95a098686627f978b8409419518e0dbd10b3622 (diff) | |
| download | classpath-6cf15fdff5199612ffb2f52507b241e658ff3cac.tar.gz | |
2004-05-21 Michael Koch <konqueror@gmx.de>
* gnu/java/beans/BeanInfoEmbryo.java,
java/awt/im/InputContext.java,
java/io/SequenceInputStream.java,
java/util/zip/ZipOutputStream.java,
javax/swing/plaf/basic/BasicLookAndFeel.java,
javax/swing/tree/DefaultMutableTreeNode.java:
Rename enum to e because enum is a keyword in Java 1.5.
Diffstat (limited to 'java/util/zip/ZipOutputStream.java')
| -rw-r--r-- | java/util/zip/ZipOutputStream.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/util/zip/ZipOutputStream.java b/java/util/zip/ZipOutputStream.java index 7d36e4521..9c3a2c819 100644 --- a/java/util/zip/ZipOutputStream.java +++ b/java/util/zip/ZipOutputStream.java @@ -338,10 +338,10 @@ public class ZipOutputStream extends DeflaterOutputStream implements ZipConstant 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); |
