directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <>
Subject Re: svn commit: r709903 - in /directory/shared/trunk/ldap/src: main/java/org/apache/directory/shared/ldap/schema/ test/java/org/apache/directory/shared/ldap/schema/
Date Mon, 03 Nov 2008 06:23:17 GMT
Emmanuel Lecharny schrieb:
> Felix Knecht wrote:
>> 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?
> Because we can deal with either String or byte[], so we use Object
> instead. This can be re-evaluated, as now we are using Value<T> instead.

But what you return is 'String strValue'. I'm talking about the returned type not the parameter.

View raw message