From commits-return-24254-apmail-directory-commits-archive=directory.apache.org@directory.apache.org Sun Jan 03 16:38:56 2010 Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 41159 invoked from network); 3 Jan 2010 16:38:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jan 2010 16:38:56 -0000 Received: (qmail 41135 invoked by uid 500); 3 Jan 2010 16:38:56 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 41076 invoked by uid 500); 3 Jan 2010 16:38:56 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 41067 invoked by uid 99); 3 Jan 2010 16:38:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 16:38:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 16:38:55 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9BEC92388A5B; Sun, 3 Jan 2010 16:38:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r895442 - in /directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name: LdapDN.java Rdn.java Date: Sun, 03 Jan 2010 16:38:34 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100103163835.9BEC92388A5B@eris.apache.org> Author: elecharny Date: Sun Jan 3 16:38:34 2010 New Revision: 895442 URL: http://svn.apache.org/viewvc?rev=895442&view=rev Log: o Added a TODO for the LdapDN.toString() method o Fixed a bug in the Rdn.getNormvalue() method, it was returning the normName for composite RDNs Modified: directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/Rdn.java Modified: directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java?rev=895442&r1=895441&r2=895442&view=diff ============================================================================== --- directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java (original) +++ directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/name/LdapDN.java Sun Jan 3 16:38:34 2010 @@ -423,6 +423,7 @@ * getNormName method * * @return A String representing the normalized DN + * @TODO : use the getName() method instead */ public String toString() { 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=895442&r1=895441&r2=895442&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 16:38:34 2010 @@ -972,7 +972,7 @@ return atav.getNormValue().getString(); default: - return ( ( TreeSet ) atavs ).first().getNormName(); + return ( ( TreeSet ) atavs ).first().getNormValue().getString(); } }