ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: [AUDIT] jakarta-ant/proposal/myrmidon
Date Wed, 23 Jan 2002 07:34:19 GMT
On Wed, 23 Jan 2002 10:04, Stephane Bailliez wrote:
> ----- Original Message -----
> From: "Peter Donald" <peter@apache.org>
>
> > > > * Is it also possible to disable "Local constructor is unused
> > > > (5.36)." when
> > > > the constructor is private and the class is final ?
> > >
> > > Not that I know of, I may have to disable this rule and implement a new
> > > rule myself.
>
> Though I would say that this is not because the class is final and the
> constructor private that it should be disabled...I'd rather do this for a
> helper class that contains only static methods no ?

works for me ;)

> > > > * Also is it possible to disable "Formal parameter elements is unused
> > > > (5.36)." when the method is an implementation of method
> > > > inherited from an interface?
> > >
> > > I don't get it, how would you express this rule ?
> >
> > Something like
>
> [...]
>
> While I understand what you want you want to avoid with this (typically
> adapters), I'm not sure at what could be the side effects, though a unused
> formal parameter is no big deal.

Well at some point in the future I want to get a 0 violations policy 
happening. However as I never intend to "fix" this case I would never be able 
to achieve 0 violations because it would always be there ;)

-- 
Cheers,

Pete

------------------------------------------------------------
 I just got lost in thought... It was unfamiliar territory.
------------------------------------------------------------


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message