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

Johannes Schneider commented on MJNCSS-49:
------------------------------------------

Run into the same issue...


> JavaNCSS Unable to parse annotation inside for loop
> ---------------------------------------------------
>
>                 Key: MJNCSS-49
>                 URL: https://jira.codehaus.org/browse/MJNCSS-49
>             Project: Maven 2.x JavaNCSS Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: George Turner Jr
>
> Parser breaks for the given code snippet:
> for (@SuppressWarnings("unchecked") Iterator itr = relationships.iterator(); 
> itr.hasNext(); )
> and results in the following error:
> [23:16:29]: [INFO] 
> ------------------------------------------------------------------------
> [23:16:29]: [ERROR] BUILD ERROR
> [23:16:29]: [INFO] 
> ------------------------------------------------------------------------
> [23:16:29]: [INFO] Error during page generation
> [23:16:29]: Embedded error: Error rendering Maven report: Error while 
> JavaNCSS was executing
> [23:16:29]: Encountered " "@" "@ "" at line 108, column 22.
> [23:16:29]: Was expecting one of:
> [23:16:29]:     "assert" ...
> [23:16:29]:     "boolean" ...
> [23:16:29]:     "byte" ...
> [23:16:29]:     "char" ...
> [23:16:29]:     "double" ...

--
This message is automatically generated by JIRA.
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