You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "James Zhu (JIRA)" <de...@uima.apache.org> on 2015/08/12 08:29:45 UTC
[jira] [Updated] (UIMA-4554) JCasGen generating rawType warnings
for fsGenerator
[ https://issues.apache.org/jira/browse/UIMA-4554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Zhu updated UIMA-4554:
----------------------------
Attachment: uimaj-tools-UIMA-4554-2015-08-11.patch
Hi, Marshall:
I gave it a try, and it appears to be working. Can you please review and see if it is good enough?
Any feedback is welcome.
Thanks.
James
> JCasGen generating rawType warnings for fsGenerator
> ---------------------------------------------------
>
> Key: UIMA-4554
> URL: https://issues.apache.org/jira/browse/UIMA-4554
> Project: UIMA
> Issue Type: Bug
> Components: Tools
> Affects Versions: 2.8.1SDK
> Reporter: Marshall Schor
> Priority: Minor
> Fix For: 2.8.2SDK
>
> Attachments: uimaj-tools-UIMA-4554-2015-08-11.patch
>
>
> JCasGen generate references to FsGenerator which was changed in 2.8.0 to have generic type information. So the resulting generated code causes warnings about raw types being used. Workaround - add a @SuppressWarnings("rawtypes"), but a better thing would be to add the proper generic arguments.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)