directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <>
Subject Re: Why is equals() in class LdapName case-sensitive?
Date Sat, 22 Apr 2006 09:39:13 GMT
Stefan Zoerner a écrit :

>>  From a user standpoint, true, both DN are equals. But from LdapName, 
>> they are different.
> Yes, this is probably a reasonable decision. But note that class 
> javax.naming.ldap.LdapName (Java 5) ignores case (same situation: you 
> can create DNs from a String without schema information). Maybe it 
> would be better to have a comparable behavior here.

That's a pretty valid point. I think it will close the discussion :)

The problem is that LdapName.equals is heavily used (135 references 
through the project), so modifying it will be costly !!! However, the 
sooner we start, the sooner it will be fixed :)


View raw message