You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Antonio Petrelli (JIRA)" <ji...@codehaus.org> on 2011/12/01 10:41:39 UTC

[jira] Commented: (MCHECKSTYLE-168) checkstyle-aggregate give a wrong file count

    [ https://jira.codehaus.org/browse/MCHECKSTYLE-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=284663#comment-284663 ] 

Antonio Petrelli commented on MCHECKSTYLE-168:
----------------------------------------------

The patch fixes the problem in CheckstyleReportListener, where the same file is counted multiple times, in the worst case, for each directory. Anyway it can be random, depending on the length of absolute names of the source directories.

> checkstyle-aggregate give a wrong file count
> --------------------------------------------
>
>                 Key: MCHECKSTYLE-168
>                 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-168
>             Project: Maven 2.x Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.8
>            Reporter: Antonio Petrelli
>         Attachments: checkstyle-multisource-patch.diff
>
>
> In a multi-source-directory environment, currently verifiable only with multi-module projects, the total file count is wrong.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira