directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: isHumanReadable in LdapSyntax
Date Thu, 05 Mar 2015 13:50:37 GMT
Le 04/03/15 17:17, Radovan Semancik a écrit :
> Hi,
>
> The current code of class LdapSyntax, method isHumanReadable seems to
> return false by default (line 145).  However the comment indicates
> that it should default to string which is human readable. So the line
> should be probably "return true" and not "return false". This seemed
> to me as an obvious bug.
>
> But when I've changed it to "return true" then the
> SchemaObjectRendererTest fails ... in a quite strange way (NPE). I do
> not feel to be very strong here and I'm not really sure what I'm
> doing. Could anyone please have a look and help me out?
>
> Thanks.
>
Ok, I created a JIRA for this one :
https://issues.apache.org/jira/browse/DIRAPI-223

And I fixed it too.

It should now work as expected.



Mime
View raw message