You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <di...@incubator.apache.org> on 2005/09/30 02:47:47 UTC

[jira] Resolved: (DIRLDAP-57) LdapName comparison is bugged for Compound Names

     [ http://issues.apache.org/jira/browse/DIRLDAP-57?page=all ]
     
Emmanuel Lecharny resolved DIRLDAP-57:
--------------------------------------

    Resolution: Fixed
     Assign To: Emmanuel Lecharny

Just changed the comparizon form something like compare( obj0, obj0) to compare(obj0, obj1)

> LdapName comparison is bugged for Compound Names
> ------------------------------------------------
>
>          Key: DIRLDAP-57
>          URL: http://issues.apache.org/jira/browse/DIRLDAP-57
>      Project: Directory LDAP
>         Type: Bug
>     Reporter: Emmanuel Lecharny
>     Assignee: Emmanuel Lecharny
>     Priority: Minor

>
> The following test works well :
> Name name1 = new LdapName( "cn=HomeDir+cn=Workdir" );
> Name name2 = new LdapName( "cn=Work+cn=HomeDir" );
> if ( name1.compareTo( name2 ) ) == 0 )
> {
>     // This should not occurs
> }
>   

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira