On 11/24/06, Martijn Kruithof <[EMAIL PROTECTED]> wrote:
Peter Reilly schreef:
> On 11/23/06, Dave Brosius <[EMAIL PROTECTED]> wrote:
>> protected void fireMessageLogged(Project project, String message,
>> int priority) {
>> fireMessageLogged(project, message, priority);
>> }
> That does incorrect.....
> It possible should be fireMessageLogged(project, message, null,
> priority).
> The question is why is there so many variants of fireMessageLogged(),
> +Event
> - they are protected methods - so they can only be used by derived
> classses
> of Project and by classes within o.a.t.a ?
>
> Peter
Yep it is incorrect.
I have added, and not removed the methods because of backward
compatibility.
Ahh, yes they are in ant 1.6.5.
Peter
In my view protected methods are just as public as public
methods (we may have users we do not know of, and they would be
rightfully using it). If they would have been package scoped I would not
have mercy.
Martijn
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]