[
http://jira.amdatu.org/jira/browse/AMDATU-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11066#comment-11066
]
Bram de Kruijff commented on AMDATU-333:
----------------------------------------
Moving the @SuppressWarnings("unchecked") up to the method level seems to
resolve the issue.
> UserAdminCache code breaks site generation
> ------------------------------------------
>
> Key: AMDATU-333
> URL: http://jira.amdatu.org/jira/browse/AMDATU-333
> Project: Amdatu
> Issue Type: Bug
> Components: Amdatu Core, Build & Release management
> Affects Versions: 0.2.0
> Reporter: Bram de Kruijff
> Assignee: Bram de Kruijff
>
> For some reason the NCSS parser can't handle @SuppressWarnings("unchecked")
> on a statement.
> [INFO] Generating "JavaNCSS Report" report.
> ParseException in
> C:\bramk\Amdatu\svn\amdatu-trunk\amdatu-core\useradmincache\src\main\java\org\amdatu\core\useradmincache\service\CachedDictionary.java
> Last useful checkpoint:
> "org.amdatu.core.useradmincache.service.CachedDictionary.put(Object,Object)"
> Encountered "@ SuppressWarnings ( \"unchecked\" ) Object result =" at line
> 60, column 9.
> Was expecting one of:
> "assert" ...
> "boolean" ...
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers