directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r687181 - in /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif: LdifComposer.java LdifComposerImpl.java
Date Tue, 19 Aug 2008 22:07:42 GMT
Author: elecharny
Date: Tue Aug 19 15:07:42 2008
New Revision: 687181

URL: http://svn.apache.org/viewvc?rev=687181&view=rev
Log:
Replaced the MultiHashMap deprecated class by a MultiValueMap

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposer.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposerImpl.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposer.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposer.java?rev=687181&r1=687180&r2=687181&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposer.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposer.java
Tue Aug 19 15:07:42 2008
@@ -21,7 +21,7 @@
 package org.apache.directory.shared.ldap.ldif;
 
 
-import org.apache.directory.shared.ldap.util.MultiMap;
+import java.util.Map;
 
 
 /**
@@ -42,5 +42,5 @@
      *            the entry to export to ldif
      * @return the ldif of an entry
      */
-    String compose( MultiMap<String,?> an_entry );
+    String compose( Map<String,?> an_entry );
 }

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposerImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposerImpl.java?rev=687181&r1=687180&r2=687181&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposerImpl.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposerImpl.java
Tue Aug 19 15:07:42 2008
@@ -24,9 +24,9 @@
 import java.io.PrintWriter;
 import java.io.StringWriter;
 import java.util.Collection;
+import java.util.Map;
 
 import org.apache.directory.shared.ldap.util.Base64;
-import org.apache.directory.shared.ldap.util.MultiMap;
 
 
 /**
@@ -146,7 +146,7 @@
      * @param attrHash the multi map of single and multivalued attributes.
      * @return the LDIF as a String.
      */
-    public String compose( MultiMap<String,?> attrHash )
+    public String compose( Map<String,?> attrHash )
     {
         StringWriter sw = new StringWriter();
         PrintWriter out = new PrintWriter( sw );



Mime
View raw message