Avoid using enum as variable name in order to compile on Java 1.5
This commit is contained in:
parent
71c4482c76
commit
6a29c2b465
1 changed files with 3 additions and 3 deletions
|
@ -91,12 +91,12 @@ public final class ZipRepository extends AbstractRepository {
|
|||
|
||||
try {
|
||||
zipfile = getZipFile();
|
||||
Enumeration enum = zipfile.entries();
|
||||
Enumeration en = zipfile.entries();
|
||||
ArrayList newRepositories = new ArrayList();
|
||||
HashMap newResources = new HashMap();
|
||||
|
||||
while (enum.hasMoreElements()) {
|
||||
ZipEntry entry = (ZipEntry) enum.nextElement();
|
||||
while (en.hasMoreElements()) {
|
||||
ZipEntry entry = (ZipEntry) en.nextElement();
|
||||
String entryname = entry.getName();
|
||||
String[] entrypath = StringUtils.split(entryname, "/");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue