User @Override in class A? Does that make sense? I am not overriding a superclass method in

On Thu, Dec 15, 2011 at 6:02 PM, Hamlet D'Arcy <> wrote:

Use the @Override to make it go away. In general, codenarc expects @Override to be used. There are other rules that expect it too.

Hamlet D'Arcy

On Dec 15, 2011 1:03 PM, "Roshan Dawrani" <> wrote:

For the code below, CodeNarc complains that does not use method parameter 'x'. In the base implementation, there is no need to use 'x', but the subclasses do.

Is there any way I can avoid this warning for class A?

McAfee SiteAdvisor Warning
This e-mail message contains potentially unsafe links to these sites: more info...
class A {
    protected foo(x) {
        // base implementation leaves x unused

class B extends A {
    protected foo(x) {
        // this overridden implementation uses x


10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.
But none more important than the need to reduce IT complexity
while improving strategic productivity.  Learn More!
Codenarc-user mailing list