Author: antonio
Date: Wed Oct 20 16:47:54 2004
New Revision: 55185

Modified:
   
cocoon/branches/BRANCH_2_1_X/src/blocks/naming/java/org/apache/cocoon/components/naming/LDAPEntryManager.java
Log:
Allow compile with java 1.5

Modified: 
cocoon/branches/BRANCH_2_1_X/src/blocks/naming/java/org/apache/cocoon/components/naming/LDAPEntryManager.java
==============================================================================
--- 
cocoon/branches/BRANCH_2_1_X/src/blocks/naming/java/org/apache/cocoon/components/naming/LDAPEntryManager.java
       (original)
+++ 
cocoon/branches/BRANCH_2_1_X/src/blocks/naming/java/org/apache/cocoon/components/naming/LDAPEntryManager.java
       Wed Oct 20 16:47:54 2004
@@ -291,10 +291,10 @@
                Converts a NamingEnumeration into a Map of those Entries, with 
Attributes 
                Should be easier to manupulate in FlowScript and display in 
JXTemplate
        */
-       private Map namingEnumeration2Map (NamingEnumeration enum) throws 
NamingException {
+       private Map namingEnumeration2Map (NamingEnumeration enumeration) 
throws NamingException {
                Map map = new HashMap ();
-               while (enum.hasMore ()) {
-                       SearchResult sr = (SearchResult)enum.next ();
+               while (enumeration.hasMore ()) {
+                       SearchResult sr = (SearchResult)enumeration.next ();
                        map.put (sr.getName (), attributes2Map(sr.getAttributes 
()));
                }
                return map;

Reply via email to