Bugs found by the findbugs-maven-plugin, version 1.1 are duplicated in the
Findbugs.xml file
----------------------------------------------------------------------------------------------
Key: MOJO-823
URL: http://jira.codehaus.org/browse/MOJO-823
Project: Mojo
Issue Type: Bug
Components: findbugs
Environment: Windows XP
Reporter: David Williams
I'm using findbugs in a multi-module project where the findbugs plugin is
inherited by every project. I'm noticing that the bugs are duplicated in the
Findbugs.xml. Below is an excerpt of the findbugs.xml file. I changed the
class name only.
<?xml version="1.0" encoding="UTF-8"?>
<BugCollection version="1.2.0" threshold="Low" effort="Default" >
<file classname="my_class" >
<BugInstance type="EI_EXPOSE_REP" priority="Normal" category="MALICIOUS_CODE"
message="EI: my_class() may expose internal representation by returning
OvException.args" lineNumber="150" />
<BugInstance type="EI_EXPOSE_REP" priority="Normal" category="MALICIOUS_CODE"
message="EI: my_class() may expose internal representation by returning
OvException.args" lineNumber="150" />
<BugInstance type="EI_EXPOSE_REP2" priority="Normal" category="MALICIOUS_CODE"
message="EI2: my_class.setArgs(Object[]) may expose internal representation by
storing an externally mutable object into OvException.args" lineNumber="158" />
<BugInstance type="EI_EXPOSE_REP2" priority="Normal" category="MALICIOUS_CODE"
message="EI2: my_class.setArgs(Object[]) may expose internal representation by
storing an externally mutable object into OvException.args" lineNumber="158" />
</file>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email