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 {
|
try {
|
||||||
zipfile = getZipFile();
|
zipfile = getZipFile();
|
||||||
Enumeration enum = zipfile.entries();
|
Enumeration en = zipfile.entries();
|
||||||
ArrayList newRepositories = new ArrayList();
|
ArrayList newRepositories = new ArrayList();
|
||||||
HashMap newResources = new HashMap();
|
HashMap newResources = new HashMap();
|
||||||
|
|
||||||
while (enum.hasMoreElements()) {
|
while (en.hasMoreElements()) {
|
||||||
ZipEntry entry = (ZipEntry) enum.nextElement();
|
ZipEntry entry = (ZipEntry) en.nextElement();
|
||||||
String entryname = entry.getName();
|
String entryname = entry.getName();
|
||||||
String[] entrypath = StringUtils.split(entryname, "/");
|
String[] entrypath = StringUtils.split(entryname, "/");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue