cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: rev 55185 - cocoon/branches/BRANCH_2_1_X/src/blocks/naming/java/org/apache/cocoon/components/naming
Date Wed, 20 Oct 2004 23:47:56 GMT
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;

Mime
View raw message