uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Resolved] (UIMA-4554) JCasGen generating rawType warnings for fsGenerator
Date Wed, 18 Nov 2015 14:35:11 GMT

     [ https://issues.apache.org/jira/browse/UIMA-4554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Marshall Schor resolved UIMA-4554.
    Resolution: Fixed
      Assignee: James Zhu

Applied James' last patch of 23 Aug, removing the unused fsgenerator code from the _Type class,
and also fixing an issue with jet-expander which was using a hard-coded file separator.

> 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
>            Assignee: James Zhu
>            Priority: Minor
>             Fix For: 2.8.2SDK
>         Attachments: UIMA-4554 patch 2015-08-15 - uimaj-jet-expander.patch, UIMA-4554
patch 2015-08-15.patch, UIMA-4554 patch 2015-08-16.patch, UIMA-4554 patch 2015-08-18.patch,
UIMA-4554 patch 2015-08-21.patch, UIMA-4554 patch 2015-08-23 - remove fsGenerator.patch, 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

View raw message