geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r487197 - /geronimo/server/tags/1.2.0-beta/maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/InstallerMojoSupport.java
Date Thu, 14 Dec 2006 12:48:26 GMT
Author: dain
Date: Thu Dec 14 04:48:26 2006
New Revision: 487197

URL: http://svn.apache.org/viewvc?view=rev&rev=487197
Log:
Enum is a reserved java 5 keyword

Modified:
    geronimo/server/tags/1.2.0-beta/maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/InstallerMojoSupport.java

Modified: geronimo/server/tags/1.2.0-beta/maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/InstallerMojoSupport.java
URL: http://svn.apache.org/viewvc/geronimo/server/tags/1.2.0-beta/maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/InstallerMojoSupport.java?view=diff&rev=487197&r1=487196&r2=487197
==============================================================================
--- geronimo/server/tags/1.2.0-beta/maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/InstallerMojoSupport.java
(original)
+++ geronimo/server/tags/1.2.0-beta/maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/InstallerMojoSupport.java
Thu Dec 14 04:48:26 2006
@@ -120,9 +120,9 @@
         try {
             ZipFile zipFile = new ZipFile(archive);
 
-            Enumeration enum = zipFile.entries();
-            while (enum.hasMoreElements()) {
-                ZipEntry entry = (ZipEntry)enum.nextElement();
+            Enumeration enumX = zipFile.entries();
+            while (enumX.hasMoreElements()) {
+                ZipEntry entry = (ZipEntry)enumX.nextElement();
                 if (entry.getName().endsWith("bin/server.jar")) {
                     File file = new File(installDirectory, entry.getName());
                     dir = file.getParentFile().getParentFile();



Mime
View raw message