directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <kayyag...@apache.org>
Subject Re: Should I remove unused constructors in Entry ?
Date Mon, 11 Apr 2011 12:30:26 GMT
Hi Pierre-Arnaud,

    yeah, back then I was only searching for a method with name
*has*Attribute(), so thought it didn't exist.
    Later Emmanuel told me about the *contains*Attribute(),

    P.S:- I would prefer both methods to start with either 'contains'
or 'has' , just to avoid confusion, but no big deal.

On Mon, Apr 11, 2011 at 5:40 PM, Pierre-Arnaud Marcelot <pa@marcelot.net> wrote:
> Hi Kiran,
> I think we already have equivalent methods for this.
> It's just not called 'hasAttributeType' but 'contains( [multiple arguments]
> )' and 'containsAttribute( AttributeType attributeType )'.
> Is it was you were looking for?
> Regards,
> Pierre-Arnaud
>
> On 6 avr. 2011, at 20:50, Kiran Ayyagari wrote:
>
> sorry accidentlly pressed send button, so am thinking that it would be good
> to have hasAttributetype() similar to hasObjectclass()
>
> On 07-Apr-2011 12:14 AM, "Kiran Ayyagari" <kayyagari@apache.org> wrote:
>
> +1 to delete, l don't think they are widely used. OTOH i think we should
> have another method to check the presence of attributetyp
>
>>
>> On 06-Apr-2011 10:57 PM, "Emmanuel Lecharny" <elecharny@gmail.com> wrote:
>>
>> Hi guys,
>>
>> as I...
>
>



-- 
Kiran Ayyagari

Mime
View raw message