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

Eric Barboni commented on MPMD-134:
-----------------------------------

Hi Dennis

According to pmd change logs the CPD algorithm has been rewritten in 4.2.6. 
Updating the trunk with 4.2.6 break unit test as 4.3 does.

Modify (and hopefully fixed)"CPD algorithm thanks to a patch from Juan Jesús 
García de Soria" 

impacted class by this patch 
http://pmd.svn.sourceforge.net/viewvc/pmd?view=revision&revision=7107

Hope it may help.


> Update to PMD 4.3 -- allow target to java 7
> -------------------------------------------
>
>                 Key: MPMD-134
>                 URL: https://jira.codehaus.org/browse/MPMD-134
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Wish
>          Components: PMD
>            Reporter: Eric Barboni
>
> After patching some source file with new Java 7 diamond operator (i.e. new 
> HashMap<>()) all  reports on this files are broken due to parsing error.
> It would be nice to patch the next 2.7 plug-in with 4.3 PMD to support all 
> Java version grammar.

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


Reply via email to