Unused method parameter not flagged as unused

Is there an option to turn off the "unused method parameter" warning?

Ive looked around, and cant see anything specific to method parameters.

The reason Im asking is that I have a method with an unused parameter that is not flagged as unused. (Linux, Build 2126). Ive tried this on Windows with build 2128, and everything works ok.

Nick

4 comments
Comment actions Permalink

Probably "Unused symbol" is what you are searching.

"Nick Pratt" <no_mail@jetbrains.com> wrote in message
news:27513533.1087827539221.JavaMail.itn@is.intellij.net...

Is there an option to turn off the "unused method parameter" warning?

>

Ive looked around, and cant see anything specific to method parameters.

>

The reason Im asking is that I have a method with an unused parameter that

is not flagged as unused. (Linux, Build 2126). Ive tried this on Windows
with build 2128, and everything works ok.
>

Nick



0
Comment actions Permalink

and that would live where?

Nick

0
Comment actions Permalink

Ignore that, I found it.
However, that setting is already set to "Warning", and my code is not flagged as having an unused param.

Anyone else seeing this on 2126 under Linux?

Nick

0
Comment actions Permalink

I think if the method implements a method in an interface, it's not considered unused.

This is a good thing, I think.

0

Please sign in to leave a comment.