On 06/08/2012 11:39 AM, Thiago H de Paula Figueiredo wrote:
On Fri, 08 Jun 2012 13:20:24 -0300, Richard Frovarp
<rfrov...@apache.org> wrote:

Which version of FindBugs are you using? I'm using FindBugs 1.x via
Sonar / Maven and I don't have any of those warnings being thrown.
I've had to get rid of a few of the rules regarding Unread field and
Unused field as @Property causes problems.

Isn't this the reason @SuppressWarnings("unused") exists? Doesn't
FindBugs take this annotation into account? If not, I think it should.


It can't. @SuppressWarnings has a RentionPolicy of SOURCE, so doesn't survive past the compiler. Since FindBugs looks at the byte code, it's gone by that point. FindBugs has their own annotation, but I don't want to use that. We're still finding such variables, but it's via PMD I think.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to