[
https://issues.apache.org/jira/browse/UIMA-4554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14698921#comment-14698921
]
Marshall Schor edited comment on UIMA-4554 at 8/17/15 1:46 AM:
---------------------------------------------------------------
Hi James, the @SuppressWarnings ("hiding" ) I think is not related to Java
version, but rather to an IDE use. In particular, the Eclipse IDE uses these;
see
http://shayanth.blogspot.com/2010/06/what-is-suppresswarnings-annotation-in.html
The hiding value is one not used by Java compilers, but is used by Eclipse (you
can set it to be ignored, or warn, etc.). UIMA-1983 was a request to add this
so that users who want this check aren't swamped by these expected hidings.
The latest Eclipse (MARS) still has these checks. So I think we should leave
these in...
I'll post later about the other changes...
was (Author: schor):
Hi James, the @SuppressWarnings ("hiding" ) I think is not related to Java
version, but rather to an IDE use. In particular, the Eclipse IDE uses these;
see
http://shayanth.blogspot.com/2010/06/what-is-suppresswarnings-annotation-in.html
The hiding value is one not used by Java compilers, but is used by Eclipse (you
can set it to be ignored, or warn, etc.). UIMA-1983 was a request to add this
so that users who want this check aren't swamped by these expected hidings.
The latest Eclipse (MARS) still has these checks. So I think we should leave
these in...
I post later about the other changes...
> 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: UIMA-4554 patch 2015-08-15 - uimaj-jet-expander.patch,
> UIMA-4554 patch 2015-08-15.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
(v6.3.4#6332)