You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2019/06/26 15:15:00 UTC

[jira] [Reopened] (UIMA-6054) JCasGen generating warnings by creating deprecated constructors

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

Marshall Schor reopened UIMA-6054:
----------------------------------

need to include @SuppressWarnings("deprecation") for the 0 arg constructor

> JCasGen generating warnings by creating deprecated constructors
> ---------------------------------------------------------------
>
>                 Key: UIMA-6054
>                 URL: https://issues.apache.org/jira/browse/UIMA-6054
>             Project: UIMA
>          Issue Type: Bug
>          Components: UIMA
>    Affects Versions: 3.0.2SDK
>            Reporter: Hai-Son Nguyen
>            Assignee: Marshall Schor
>            Priority: Trivial
>             Fix For: 3.0.3SDK
>
>         Attachments: patch-uima-6054v1.txt, patch-uima-6054v2.txt, patch-uima-6054v3.txt, patch-uima-6054v4.txt
>
>
> The JCasGen process produces classes with a protected empty no parameter constructor.
> Base classes that have extended the Annotation class (org.apache.uima.jcas.tcas.Annotation) are now getting warnings that the constructor Annotation() is deprecated.
> The constructor documentation states, "Never called. Disable default constructor" but the presence of other constructors already serve this purpose. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)