diff options
author | aclement <aclement> | 2005-01-24 14:33:05 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-01-24 14:33:05 +0000 |
commit | 159d6bd9422fc8ab300cfb88280d7ef3bf910a95 (patch) | |
tree | a9eff96148ea634be9e82210cc5834eca2e8cdce /testing | |
parent | 3960b953bd78c2267816da5ead503779f58f23bd (diff) | |
download | aspectj-159d6bd9422fc8ab300cfb88280d7ef3bf910a95.tar.gz aspectj-159d6bd9422fc8ab300cfb88280d7ef3bf910a95.zip |
Matthew fix for 83380: don't use enum as a variable name.
Diffstat (limited to 'testing')
-rw-r--r-- | testing/src/org/aspectj/testing/util/FileUtil.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/testing/src/org/aspectj/testing/util/FileUtil.java b/testing/src/org/aspectj/testing/util/FileUtil.java index b68d7f8b2..543da5801 100644 --- a/testing/src/org/aspectj/testing/util/FileUtil.java +++ b/testing/src/org/aspectj/testing/util/FileUtil.java @@ -217,9 +217,9 @@ public class FileUtil { if (null == visitor) throw new IllegalArgumentException("null visitor"); int index = 0; try { - Enumeration enum = zipfile.entries(); - while (enum.hasMoreElements()) { - ZipEntry entry = (ZipEntry) enum.nextElement(); + Enumeration enu = zipfile.entries(); + while (enu.hasMoreElements()) { + ZipEntry entry = (ZipEntry) enu.nextElement(); index++; if (! visitor.accept(entry.getName())) { break; @@ -366,9 +366,9 @@ public class FileUtil { ZipFile zip = null; try { zip = new ZipFile(zipfile); // ZipFile.OPEN_READ| ZipFile.OPEN_DELETE); delete is 1.3 only - Enumeration enum = zip.entries(); - while (enum.hasMoreElements()) { - results.add(renderZipEntry(zipfile, (ZipEntry) enum.nextElement())); + Enumeration enu = zip.entries(); + while (enu.hasMoreElements()) { + results.add(renderZipEntry(zipfile, (ZipEntry) enu.nextElement())); } zip.close(); zip = null; |