commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ep...@apache.org
Subject cvs commit: jakarta-commons/configuration/src/java/org/apache/commons/configuration JNDIConfiguration.java
Date Sat, 13 Mar 2004 17:30:42 GMT
epugh       2004/03/13 09:30:42

  Modified:    configuration/src/java/org/apache/commons/configuration
                        JNDIConfiguration.java
  Log:
  PMD suggested fixes
  
  Revision  Changes    Path
  1.9       +3 -8      jakarta-commons/configuration/src/java/org/apache/commons/configuration/JNDIConfiguration.java
  
  Index: JNDIConfiguration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/configuration/src/java/org/apache/commons/configuration/JNDIConfiguration.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- JNDIConfiguration.java	9 Mar 2004 10:31:31 -0000	1.8
  +++ JNDIConfiguration.java	13 Mar 2004 17:30:42 -0000	1.9
  @@ -140,14 +140,9 @@
               }
               if (context != null)
               {
  -                NamingEnumeration enum2 = context.list("");
  -                for(;enum2.hasMore();){
  -                    System.out.println(enum2.next());
  -                }
  +              
                   NamingEnumeration enum = context.listBindings("");
  -                for(;enum.hasMore();){
  -                    System.out.println(enum.next());
  -                }
  +              
                   recursiveGetKeys(keys, enum, key);
               }
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message