geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r479898 - /geronimo/server/trunk/maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/InstallerMojoSupport.java
Date Tue, 28 Nov 2006 04:47:12 GMT
Author: jdillon
Date: Mon Nov 27 20:47:11 2006
New Revision: 479898

URL: http://svn.apache.org/viewvc?view=rev&rev=479898
Log:
'enum' is a reserved word when using 1.5 source, change to something which is not reserved

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

Modified: geronimo/server/trunk/maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/InstallerMojoSupport.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/InstallerMojoSupport.java?view=diff&rev=479898&r1=479897&r2=479898
==============================================================================
--- geronimo/server/trunk/maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/InstallerMojoSupport.java
(original)
+++ geronimo/server/trunk/maven-plugins/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/InstallerMojoSupport.java
Mon Nov 27 20:47:11 2006
@@ -119,10 +119,10 @@
 
         try {
             ZipFile zipFile = new ZipFile(archive);
-
-            Enumeration enum = zipFile.entries();
-            while (enum.hasMoreElements()) {
-                ZipEntry entry = (ZipEntry)enum.nextElement();
+            
+            Enumeration n = zipFile.entries();
+            while (n.hasMoreElements()) {
+                ZipEntry entry = (ZipEntry)n.nextElement();
                 if (entry.getName().endsWith("bin/server.jar")) {
                     File file = new File(installDirectory, entry.getName());
                     dir = file.getParentFile().getParentFile();



Mime
View raw message