directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r411560 - in /directory/branches/shared/optimization/ldap/src/main/java/org/apache/directory/shared/ldap: codec/search/controls/EntryChangeControl.java name/LdapDN.java
Date Sun, 04 Jun 2006 14:22:27 GMT
Author: elecharny
Date: Sun Jun  4 07:22:27 2006
New Revision: 411560

URL: http://svn.apache.org/viewvc?rev=411560&view=rev
Log:
Changed getName() to getUpName()
added getNormName()

Modified:
    directory/branches/shared/optimization/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/EntryChangeControl.java
    directory/branches/shared/optimization/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java

Modified: directory/branches/shared/optimization/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/EntryChangeControl.java
URL: http://svn.apache.org/viewvc/directory/branches/shared/optimization/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/EntryChangeControl.java?rev=411560&r1=411559&r2=411560&view=diff
==============================================================================
--- directory/branches/shared/optimization/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/EntryChangeControl.java
(original)
+++ directory/branches/shared/optimization/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/EntryChangeControl.java
Sun Jun  4 07:22:27 2006
@@ -105,7 +105,7 @@
 
         if ( previousDn != null )
         {
-            previousDnBytes = StringTools.getBytesUtf8( previousDn.getName() );
+            previousDnBytes = StringTools.getBytesUtf8( previousDn.getUpName() );
             previousDnLength = 1 + Length.getNbBytes( previousDnBytes.length ) + previousDnBytes.length;
         }
 

Modified: directory/branches/shared/optimization/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java
URL: http://svn.apache.org/viewvc/directory/branches/shared/optimization/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java?rev=411560&r1=411559&r2=411560&view=diff
==============================================================================
--- directory/branches/shared/optimization/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java
(original)
+++ directory/branches/shared/optimization/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java
Sun Jun  4 07:22:27 2006
@@ -439,7 +439,7 @@
      * 
      * @return The DN as a String
      */
-    public String getName()
+    public String getUpName()
     {
         return ( upName == null ? "" : upName );
     }
@@ -450,9 +450,10 @@
      * 
      * @return The DN as a String
      */
-    /*
-     * public String getNormName() { return ( normName == null ? "" : normName ); }
-     */
+     public String getNormName() 
+     { 
+         return ( normName == null ? "" : normName ); 
+     }
 
     /**
      * Get the number of NameComponent conatained in this LdapDN



Mime
View raw message