6.0.2 still says variables not in use...

I have class with this field:

private int status;


I then have this method (among others):

@NotNull
@Range(min = 0)
public int getStatus() {
return status;
}


But IntelliJ gives me the greyed out warning saying the "private field is never used".

Find usages says there are 10 usages. This is very frustrating.

2 comments
Comment actions Permalink

Could you please post a self-contained example to the jira?
Thanks.

--
regards,
--
Alexey Kudravtsev
Software Developer
JetBrains, Inc, http://www.jetbrains.com
"Develop with pleasure!"

"Barry Kaplan" <no_reply@jetbrains.com> wrote in message
news:28815738.1164045238921.JavaMail.itn@is.intellij.net...
>I have class with this field:
>

private int status;

>
>

I then have this method (among others):

>

@NotNull
@Range(min = 0)
public int getStatus() {
return status;
}

>
>

But IntelliJ gives me the greyed out warning saying the "private field is
never used".

>

Find usages says there are 10 usages. This is very frustrating.



0
Comment actions Permalink

Unfortunately when i make a self contained file the problem doesn't exist.

0

Please sign in to leave a comment.