IC-93.13 paints all public getters/setters as unused with warning???
As per subject, this version paints my Java class public getters/setters as a warning for being unused. Is this another new feature of the v 9 by design?
Please sign in to leave a comment.
Hello Michael,
If the getters and setters are in fact unused, then this behavior is indeed
by design.
To turn the highlighting off, you can go to Settings | Inspections | Declaration
Redundancy and turn off the "Unused declaration" inspection.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Dmitry,
Did you notice the word "public" perchance? public getters/setters, in some of my classes at some times. Then it suddenly goes all green and then suddenly back to yellow.
Hello Michael,
Yes, I did. Please see http://blogs.jetbrains.com/idea/2009/04/global-unused-declaration-inspection/
for more information on the feature.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"