directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r895318 - in /directory/shared/branches/shared-schema/ldap/src: main/java/org/apache/directory/shared/ldap/name/ test/java/org/apache/directory/shared/ldap/name/
Date Sun, 03 Jan 2010 01:54:04 GMT
Author: elecharny
Date: Sun Jan  3 01:54:04 2010
New Revision: 895318

URL: http://svn.apache.org/viewvc?rev=895318&view=rev
Log:
Renamed atav.getNormalizedValue() to atav.getNormName()

Modified:
    directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/AttributeTypeAndValue.java
    directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/Rdn.java
    directory/shared/branches/shared-schema/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java

Modified: directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/AttributeTypeAndValue.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/AttributeTypeAndValue.java?rev=895318&r1=895317&r2=895318&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/AttributeTypeAndValue.java
(original)
+++ directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/AttributeTypeAndValue.java
Sun Jan  3 01:54:04 2010
@@ -345,11 +345,11 @@
     }
 
     /**
-     * Get the normalized Value of a AttributeTypeAndValue
+     * Get the normalized Name of a AttributeTypeAndValue
      *
-     * @return The value
+     * @return The name
      */
-    public String getNormalizedValue()
+    public String getNormName()
     {
         return normalize();
     }

Modified: directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/Rdn.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/Rdn.java?rev=895318&r1=895317&r2=895318&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/Rdn.java
(original)
+++ directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/Rdn.java
Sun Jan  3 01:54:04 2010
@@ -355,7 +355,7 @@
                 // We will trim and lowercase type and value.
                 if ( !atav.getNormValue().isBinary() )
                 {
-                    normName = atav.getNormalizedValue();
+                    normName = atav.getNormName();
                 }
                 else
                 {
@@ -972,7 +972,7 @@
                 return atav.getNormValue().getString();
 
             default:
-                return ( ( TreeSet<AttributeTypeAndValue> ) atavs ).first().getNormalizedValue();
+                return ( ( TreeSet<AttributeTypeAndValue> ) atavs ).first().getNormName();
         }
     }
 

Modified: directory/shared/branches/shared-schema/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java?rev=895318&r1=895317&r2=895318&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java
(original)
+++ directory/shared/branches/shared-schema/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java
Sun Jan  3 01:54:04 2010
@@ -3526,7 +3526,7 @@
         
         AttributeTypeAndValue atav = rdn.getAtav();
         
-        assertEquals( "2.5.4.11=ex+mple", atav.getNormalizedValue() );
+        assertEquals( "2.5.4.11=ex+mple", atav.getNormName() );
         assertEquals( "2.5.4.11", atav.getNormType() );
         assertEquals( "ex+mple", atav.getNormValue().get() );
         



Mime
View raw message