geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject cvs commit: incubator-geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/deployment EARConfigBuilder.java
Date Mon, 21 Jun 2004 20:29:00 GMT
jboynes     2004/06/21 13:29:00

  Modified:    modules/j2ee/src/java/org/apache/geronimo/j2ee/deployment
                        EARConfigBuilder.java
  Log:
  enum is a reserved word in 1.5 - let's not use it
  
  Revision  Changes    Path
  1.8       +3 -3      incubator-geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/deployment/EARConfigBuilder.java
  
  Index: EARConfigBuilder.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/deployment/EARConfigBuilder.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- EARConfigBuilder.java	15 Jun 2004 03:00:37 -0000	1.7
  +++ EARConfigBuilder.java	21 Jun 2004 20:29:00 -0000	1.8
  @@ -187,8 +187,8 @@
   
               // Copy over all files that are _NOT_ modules
               if (application != null) {
  -                for (Enumeration enum = earFile.entries(); enum.hasMoreElements();) {
  -                    ZipEntry entry = (ZipEntry) enum.nextElement();
  +                for (Enumeration e = earFile.entries(); e.hasMoreElements();) {
  +                    ZipEntry entry = (ZipEntry) e.nextElement();
                       if (!moduleLocations.contains(entry.getName())) {
                           earContext.addFile(URI.create(entry.getName()), earFile.getInputStream(entry));
                       }
  
  
  

Mime
View raw message