Hi,

Sometimes, not all my bugs appear in the report. They appear in the summary part, and in the stats part, but the actual bug description doesn't get printed out.

This seems to be because the of the code below: It seems sometimes we get more than one class per bugInstance. The primary class that were interested in first, then some other class. java.sql.SQLException in my case.

[email protected]() = "my.class.Namejava.sql.SQLException"
buginstance.class[[email protected]() = "my.class.Name"

...and it matches and my bug gets printed out and I feel so much better about life :)

I think this will close MFINDBUGS-111.

Thanks,
Jesse

--- src/main/groovy/org/codehaus/mojo/findbugs/FindbugsReportGenerator.groovy (revision 12169) +++ src/main/groovy/org/codehaus/mojo/findbugs/FindbugsReportGenerator.groovy (working copy)
@@ -427,7 +427,7 @@

     findbugsResults.BugInstance.each() {bugInstance ->

-      if ( [email protected]() == bugClass ) {
+      if ( buginstance.class[[email protected]() == bugClass ) {

         def type = [email protected]()
         def category = [email protected]()

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to