directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r291834 - in /directory/shared/ldap/branches/shared-ldap-NameComponent/apache2-provider/src/java/main/org/apache/asn1new/ldap: codec/primitives/LdapString.java codec/utils/DNUtils.java pojo/ModifyDNRequest.java
Date Tue, 27 Sep 2005 06:53:48 GMT
Author: elecharny
Date: Mon Sep 26 23:53:42 2005
New Revision: 291834

URL: http://svn.apache.org/viewcvs?rev=291834&view=rev
Log:
Fixed some problems, but it's not over yet ! This commit has been done to let me work on this
piece of code from office

Modified:
    directory/shared/ldap/branches/shared-ldap-NameComponent/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/primitives/LdapString.java
    directory/shared/ldap/branches/shared-ldap-NameComponent/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/utils/DNUtils.java
    directory/shared/ldap/branches/shared-ldap-NameComponent/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/ModifyDNRequest.java

Modified: directory/shared/ldap/branches/shared-ldap-NameComponent/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/primitives/LdapString.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/shared-ldap-NameComponent/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/primitives/LdapString.java?rev=291834&r1=291833&r2=291834&view=diff
==============================================================================
--- directory/shared/ldap/branches/shared-ldap-NameComponent/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/primitives/LdapString.java
(original)
+++ directory/shared/ldap/branches/shared-ldap-NameComponent/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/primitives/LdapString.java
Mon Sep 26 23:53:42 2005
@@ -64,7 +64,7 @@
         
         try
         {
-            setData(bytes);
+            setData( bytes, 0, bytes.length );
         }
         catch ( UnsupportedEncodingException ine )
         {

Modified: directory/shared/ldap/branches/shared-ldap-NameComponent/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/utils/DNUtils.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/shared-ldap-NameComponent/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/utils/DNUtils.java?rev=291834&r1=291833&r2=291834&view=diff
==============================================================================
--- directory/shared/ldap/branches/shared-ldap-NameComponent/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/utils/DNUtils.java
(original)
+++ directory/shared/ldap/branches/shared-ldap-NameComponent/apache2-provider/src/java/main/org/apache/asn1new/ldap/codec/utils/DNUtils.java
Mon Sep 26 23:53:42 2005
@@ -353,7 +353,7 @@
             {
                 try
                 {
-                    return StringUtils.countBytesPerChar( byteArray, index );
+                    return StringUtils.countCharNbBytes( byteArray, index );
                 }
                 catch ( UnsupportedEncodingException uee )
                 {

Modified: directory/shared/ldap/branches/shared-ldap-NameComponent/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/ModifyDNRequest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/shared-ldap-NameComponent/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/ModifyDNRequest.java?rev=291834&r1=291833&r2=291834&view=diff
==============================================================================
--- directory/shared/ldap/branches/shared-ldap-NameComponent/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/ModifyDNRequest.java
(original)
+++ directory/shared/ldap/branches/shared-ldap-NameComponent/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/ModifyDNRequest.java
Mon Sep 26 23:53:42 2005
@@ -25,7 +25,7 @@
 import org.apache.asn1new.ber.tlv.Value;
 import org.apache.asn1new.ldap.codec.LdapConstants;
 import org.apache.asn1new.ldap.codec.primitives.LdapDN;
-import org.apache.asn1new.ldap.codec.primitives.RelativeLdapDN;
+import org.apache.asn1new.ldap.codec.primitives.LdapRDN;
 
 
 /**
@@ -46,7 +46,7 @@
     private LdapDN entry;
 
     /** The new RDN to be added to the RDN or to the new superior, if present */
-    private RelativeLdapDN newRDN;
+    private LdapRDN newRDN;
 
     /** If the previous RDN is to be deleted, this flag will be set to true */
     private boolean deleteOldRDN;
@@ -132,7 +132,7 @@
      *
      * @param newRDN The newRDN to set.
      */
-    public void setNewRDN( RelativeLdapDN newRDN )
+    public void setNewRDN( LdapRDN newRDN )
     {
         this.newRDN = newRDN;
     }



Mime
View raw message