You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org> on 2015/08/17 08:28:45 UTC

[jira] [Commented] (UIMA-1983) JCasGen prouces source files with name shadowing/conflicts

    [ https://issues.apache.org/jira/browse/UIMA-1983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699065#comment-14699065 ] 

Richard Eckart de Castilho commented on UIMA-1983:
--------------------------------------------------

Is it good to have these unnecessary warnings when Eclipse is configured with the default settings?

> JCasGen prouces source files with name shadowing/conflicts
> ----------------------------------------------------------
>
>                 Key: UIMA-1983
>                 URL: https://issues.apache.org/jira/browse/UIMA-1983
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Philip Ogren
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: 2.4.0SDK
>
>
> When the compiler warnings are set to complain when name shadowing or name conflicts exist, then the source files produced by JCasGen contain many warnings.  It sure would be nice if these files came out pristine rather than having compiler warnings.  Eclipse does not seem to allow for fine grained compiler warning configuration (i.e. to ignore certain warnings for certain source folders or packages) but only works at the project level.    Therefore, I must either turn these warnings off for the entire project or must ignore the warnings in the type system java files.  
> I'm guessing that this is a side effect of an intentional design decision (re eg typeIndexID) and so I am not that hopeful that this can be fixed but thought I would ask anyways.  
> Thanks,
> Philip



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)