[ http://jira.codehaus.org/browse/MOJO-563?page=comments#action_82915 ]
Garvin LeClaire commented on MOJO-563:
--------------------------------------
Let's try again to get the escape characters right
{code}
<BugInstance type="DM_STRING_VOID_CTOR" priority="Normal"
category="PERFORMANCE" message="Dm:
common.util.DateUtils.getDateInLongDateStringFormat() invokes inefficient new
String() constructor; just use """ lineNumber="941" />
{code}
Here is the new output. I ran this on a project at work that had never run
Maven before.
If you are still having problems send me your output and uses cases.
Garvin
> xml report is not well-formed
> -----------------------------
>
> Key: MOJO-563
> URL: http://jira.codehaus.org/browse/MOJO-563
> Project: Mojo
> Issue Type: Bug
> Components: findbugs
> Environment: Maven 2.0.4, Findbugs 1.0-SNAPSHOT
> Reporter: Rémy Sanlaville
> Priority: Critical
>
> The xml findbugs report is not well-formed.
> For example my report is like this :
> <?xml version="1.0" encoding="UTF-8"?>
> <BugCollection version="1.1.1" threshold="Low" effort="Default" >
> <file classname="test.business.control.AddAuthor" >
> <BugInstance type="DM_STRING_VOID_CTOR" priority="Normal"
> category="PERFORMANCE" message="Dm:
> test.business.control.AddAuthor.setArgs(java.util.List) invoque le
> constructeur inutile String() ; utilisez juste """ lineNumber="86" />
> which is not well-formed.
> In fact,
> utilisez juste """
> must be
> utilisez juste "
> like this
> <BugInstance type="DM_STRING_VOID_CTOR" priority="Normal"
> category="PERFORMANCE" message="Dm:
> test.business.control.AddAuthor.setArgs(java.util.List) invoque le
> constructeur inutile String() ; utilisez juste" lineNumber="86" />
--
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