directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel L├ęcharny <elecha...@apache.org>
Subject Re: Dn, RDn, Ava : Final classes ?
Date Mon, 21 Mar 2011 17:21:16 GMT
On 3/21/11 5:43 PM, Alex Karasulu wrote:
> On Mon, Mar 21, 2011 at 6:39 PM, Emmanuel Lecharny<elecharny@gmail.com>wrote:
>
>> Hi guys,
>>
>> do you think it's a good idea to make the Dn, Rdn and Ava classes final ?
>>
>>
> I'd avoid this because it would limit extension. Are we gaining a lot by
> making them final?
Not that much, but as the classes are immutable, I was thinking that 
it's not really necessary to have them not final. Also it might be 
faster (inline methods, etc)

Just wanted to hear other's opinion here.


-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com


Mime
View raw message