directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Should I remove unused constructors in Entry ?
Date Wed, 06 Apr 2011 17:27:23 GMT
Hi guys,

as I'm now reviewing the Entry classes, I'm wondering if we should keep 
all the constructors we have, or if we would rather remove those we 
don't use.

For instance, we have a couple of constrcutors which are never used :
DefaultEntry( Attribute...)
DefaultEntry( SchemaManager, Attribute...)

It creates an Entry from a list of Attribute instances.

It *might* be convenient, but we never ever use it. Should I keep it, or 
should I remove the methods ? (YAGNI principle)

wdyt ?

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


Mime
View raw message