directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fel...@apache.org>
Subject Re: svn commit: r709903 - in /directory/shared/trunk/ldap/src: main/java/org/apache/directory/shared/ldap/schema/BooleanNormalizer.java test/java/org/apache/directory/shared/ldap/schema/BooleanNormalizerTest.java
Date Sun, 02 Nov 2008 21:16:27 GMT
Without knowing the exact context ...

Why is the method definition of return type Object and not String? Wouldn't it be better to
be as specific as possible?


> Author: kayyagari
> Date: Sun Nov  2 10:47:32 2008
> New Revision: 709903
> 
> URL: http://svn.apache.org/viewvc?rev=709903&view=rev
> Log:
> o a normalizer for boolean values
> 
> Added:
>     directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/BooleanNormalizer.java
>     directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/schema/BooleanNormalizerTest.java
> 
> Added: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/BooleanNormalizer.java
> URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/BooleanNormalizer.java?rev=709903&view=auto
> ==============================================================================
> --- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/BooleanNormalizer.java
(added)
> +++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/BooleanNormalizer.java
Sun Nov  2 10:47:32 2008
> @@ -0,0 +1,61 @@

<snip>
> +
> +    public Object normalize( Object value ) throws NamingException
> +    {
</snip>

public String normalize( Object value ) throws NamingException


Regards
Felix


Mime
View raw message