Reports are different depending on the order of files retrieved from the 
filesystem
-----------------------------------------------------------------------------------

                 Key: MPMD-50
                 URL: http://jira.codehaus.org/browse/MPMD-50
             Project: Maven 2.x Pmd Plugin
          Issue Type: Bug
          Components: CPD
    Affects Versions: 2.2
            Reporter: Daniel Kulp
             Fix For: 2.2
         Attachments: pmd.patch


The getFilesToProcess call to get the list of files does not return a List in 
any guaranteed order.   One of the tests does expect it to be in sorted order.  
 However, on my machine, it's not sorted and the test fails.  

Explicitly sorting the List not only allows the test to pass, but also makes 
sure the same report would be generated on all the developer machines.   It 
should be much more reproduceable.



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

        

Reply via email to