ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject [OT] FindBugs
Date Thu, 24 Jul 2003 12:37:56 GMT
Hi,

I just stumbled over findbugs[1] (via Cafe au lait) and ran it over
Ant's sources.

Some of the reported problems are non-issues, but it also detected
some things that checkstyle doesn't[2].  Some examples:

* BaseFilterReader line 88 should use "" instead of new String().

* bufferPos in TailFilter is never used

* line 897 in IntrospectionHelper should use Boolean.valueOf instead
  of the constructor.

as well as a couple of things that look like real potential bugs.

Looks nice so far.

Footnotes: 
[1]  http://www.cs.umd.edu/~pugh/java/bugs/

[2]  I'm sure it could if configured differently or with some
additional help.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message