[Variable|Parameter] XXX can have final modifier

I noticed that codes open up in build 833 are having lots of warnings of this, which does not exists in earlier builds.

Is there a way to turn off this? I noticed that there is no options to turn it off in IDE -> Errors.

TIA.

4 comments
Comment actions Permalink

simplicity wrote:

I noticed that codes open up in build 833 are having lots of warnings of this, which does not exists in earlier builds.

Is there a way to turn off this? I noticed that there is no options to turn it off in IDE -> Errors.

TIA.


In your project .iws file find all inspection_tool elements and set
enabled attribute to false. Then restart IDEA.

/kesh

0
Comment actions Permalink

It works. Thanks.

But if it is an "Error" check, then shouldn't it be in Options->Errors?

Hmmm....

0
Comment actions Permalink

i think it runs off the code inspections dialog. Open the code inspections dialog and uncheck the things you don't want. Click cancel and it should be changed. They are going to change this because hitting cancel to make changes just doesn't make sense

0
Comment actions Permalink

"simplicity" <no_mail@jetbrains.com> wrote in message
news:26960286.1056258209732.JavaMail.jrun@is.intellij.net...

It works. Thanks.

>

But if it is an "Error" check, then shouldn't it be in Options->Errors?

>

Hmmm....


While open API to instections we found that local inspections can be easily
run in background (with errors highlighting), so we put this feature in, but
UI for it is not done yet.

--
Best regards,
Dmitry Peshehonov
JetBrains, Inc, http://www.intellij.com


0

Please sign in to leave a comment.