directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r359064 - /directory/shared/ldap/branches/DN-refactoring/apache2-provider/src/main/java/org/apache/asn1new/ldap/codec/grammar/ModifyDNRequestGrammar.java
Date Mon, 26 Dec 2005 11:12:02 GMT
Author: elecharny
Date: Mon Dec 26 03:11:57 2005
New Revision: 359064

URL: http://svn.apache.org/viewcvs?rev=359064&view=rev
Log:
Changed from LdapRDN to Rdn

Modified:
    directory/shared/ldap/branches/DN-refactoring/apache2-provider/src/main/java/org/apache/asn1new/ldap/codec/grammar/ModifyDNRequestGrammar.java

Modified: directory/shared/ldap/branches/DN-refactoring/apache2-provider/src/main/java/org/apache/asn1new/ldap/codec/grammar/ModifyDNRequestGrammar.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/DN-refactoring/apache2-provider/src/main/java/org/apache/asn1new/ldap/codec/grammar/ModifyDNRequestGrammar.java?rev=359064&r1=359063&r2=359064&view=diff
==============================================================================
--- directory/shared/ldap/branches/DN-refactoring/apache2-provider/src/main/java/org/apache/asn1new/ldap/codec/grammar/ModifyDNRequestGrammar.java
(original)
+++ directory/shared/ldap/branches/DN-refactoring/apache2-provider/src/main/java/org/apache/asn1new/ldap/codec/grammar/ModifyDNRequestGrammar.java
Mon Dec 26 03:11:57 2005
@@ -35,7 +35,7 @@
 import org.apache.asn1new.ldap.pojo.LdapMessage;
 import org.apache.asn1new.ldap.pojo.ModifyDNRequest;
 import org.apache.ldap.common.name.LdapDN;
-import org.apache.ldap.common.name.LdapRDN;
+import org.apache.ldap.common.name.Rdn;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -199,7 +199,7 @@
                         TLV tlv = ldapMessageContainer.getCurrentTLV();
 
                         // We have to handle the special case of a 0 length matched newDN
-                        LdapRDN newRdn = null;
+                        Rdn newRdn = null;
                         
                         if ( tlv.getLength().getLength() == 0 )
                         {
@@ -209,7 +209,7 @@
                         {
                             try
                             {
-                                newRdn = new LdapRDN( tlv.getValue().getData() );
+                                newRdn = new Rdn( tlv.getValue().getData() );
                                 modifyDNRequest.setNewRDN( newRdn );
                             }
                             catch ( InvalidNameException ine )



Mime
View raw message