You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2008/07/09 20:27:08 UTC
svn commit: r675285 -
/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java
Author: elecharny
Date: Wed Jul 9 11:27:07 2008
New Revision: 675285
URL: http://svn.apache.org/viewvc?rev=675285&view=rev
Log:
Minor cleanup.
Switch from public to private for a method which is never used outside of the class
Modified:
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java?rev=675285&r1=675284&r2=675285&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java Wed Jul 9 11:27:07 2008
@@ -1482,11 +1482,10 @@
* @param oidNormalizer the normalizer to use for the RDN
* @throws NamingException If something went wrong.
*/
- public static void oidNormalize( Rdn rdn, OidNormalizer oidNormalizer ) throws NamingException
+ private static void oidNormalize( Rdn rdn, OidNormalizer oidNormalizer ) throws NamingException
{
Object upValue = rdn.getUpValue();
String upType = rdn.getUpType();
- //String normalizedValue = rdn.getNormValue();
rdn.clear();
Object normStringValue = DefaultStringNormalizer.normalizeString( (String)upValue );
Object normValue = oidNormalizer.getNormalizer().normalize( normStringValue );