Unused Symbol inspection changed behavior

I'm not sure what caused the change, but Unuse Symbol inspections now
reports Struts1 actions methods, as well as Struts2 parameters
accessors, as unused.

It used to be fine with Diana.

I'm using 90.154 under OsX 10.6.1

4 comments
Comment actions Permalink

right, it's a problem too.
The corresponding inspection should be Unused Declaration and not
Unused Symbol.

But my problem is different: I get Struts1 ation methods and Strut2
accessors shown as unused where they are in fact in use. And this
wasn't the case with Diana.

On 2009-11-06 23:04:07 +0900, Marcus Brito <no_reply@jetbrains.com> said:

It's probably this bug:

http://youtrack.jetbrains.net/issue/IDEA-25507

---
Original message URL: http://www.jetbrains.net/devnet/message/5249189#5249189



0
Comment actions Permalink

Ah, I see. Now that you mention it, I think I've seen this as well.

I've been so let down by the various unused inspections that I've turned most of them off (unused struts action, unused css selector, unused spring bean, etc. -- all of them reports lots and lots of false positives). There should be issues filed about this.

0
Comment actions Permalink

I struggled for quite some months I must admit, but at least for the
smaller projects/common jars, I ended up with a pretty stable
inspection profile. (and cleaned up code base)

Then having this config run in TeamCity is another struggle because
TeamCity doesn't run the same set (they are in fact off-line
inspections).
If that runs fine, then you're alerted of anyone commiting code
containing warnings/errors.

And that's brilliant, escpecially if you implement some dependency
rules based on Scopes.

Then you have to make developer care for the inspections alerts... a
whole another story...

Finally, Maia is introduced and all that is a little bit jeopardized...
But now a global inspection profile is enabled so that's for the better.

Software development is all about struggling I guess. A life parable ?

On 2009-11-09 23:51:29 +0900, Marcus Brito <no_reply@jetbrains.com> said:

Ah, I see. Now that you mention it, I think I've seen this as well.

I've been so let down by the various unused inspections that I've
turned most of them off (unused struts action, unused css selector,
unused spring bean, etc. -- all of them reports lots and lots of false
positives). There should be issues filed about this.

---
Original message URL: http://www.jetbrains.net/devnet/message/5249447#5249447



0

Please sign in to leave a comment.