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

Benson Margulies closed MCOBERTURA-133.
---------------------------------------

    Resolution: Not A Bug

This is not a bug in the cobertura-maven-plugin, but rather in cobertura, which 
tracks bugs at sourceforge.net.

> JavaNCSS parser fails on forall with arrays
> -------------------------------------------
>
>                 Key: MCOBERTURA-133
>                 URL: http://jira.codehaus.org/browse/MCOBERTURA-133
>             Project: Maven 2.x Cobertura Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Justin Sands
>            Priority: Trivial
>
> The JavaNCSS parser cannot parse the following java code because of how the 
> array is declared:
> This is clearly an issue with the JavaNCSS parser or the version of the 
> parser used by 2.2.
> Fails:
>     for (int personAttrs[] : attributes) {
> Works:
>     for (int[] personAttrs : attributes) {
> Encountered " ":" ": "" at line 449, column 48.
> Was expecting one of:
>     "[" ...
>     ";" ...
>     "," ...
>     "=" ...
> but it can parse 

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


Reply via email to