You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Daniel Kulp (JIRA)" <ji...@codehaus.org> on 2007/03/10 15:15:12 UTC

[jira] Updated: (MPMD-51) Sometimes PMD.xml doesn't contain the class name and this displays null in the verbose mode

     [ http://jira.codehaus.org/browse/MPMD-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated MPMD-51:
----------------------------

         Assignee: Daniel Kulp  (was: Brian Fox)
    Fix Version/s: 2.2

> Sometimes PMD.xml doesn't contain the class name and this displays null in the verbose mode
> -------------------------------------------------------------------------------------------
>
>                 Key: MPMD-51
>                 URL: http://jira.codehaus.org/browse/MPMD-51
>             Project: Maven 2.x Pmd Plugin
>          Issue Type: Bug
>            Reporter: Brian Fox
>         Assigned To: Daniel Kulp
>             Fix For: 2.2
>
>
> Example pmd.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <pmd version="3.7" timestamp="2006-11-15T10:51:57.866" elapsedTime="0s">
> <file name="G:\checkout\dsms-3.0\application\client-management-application\src\main\java\com\stchome\dsms\appl\formdatasources\clientmanagement\ClientRegistryDataHelper.java">
> <violation line="15" rule="UnusedImports" ruleset="Import Statement Rules" package="com.stchome.dsms.appl.formdatasources.clientmanagement" externalInfoUrl="http://pmd.sourceforge.net/rules/imports.html#UnusedImports" priority="4">
> Avoid unused imports such as 'com.stchome.dsms.appl.formdatasources.clientmanagement.util.AppResource'
> </violation>
> </file>
> </pmd>
> In this case, we should just print the file name if either the package or class name is null

-- 
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