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] [Commented] (UIMA-6056) JCasGen for producing FSArray is a raw type warning
Date Thu, 13 Jun 2019 21:58:00 GMT

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

Marshall Schor commented on UIMA-6056:
--------------------------------------

Thanks for volunteering :) to improve the test cases.  There are some tests in the project
"jcasgen-maven-plugin".  These run the jcasgen over some type descriptors.  The type descriptors
are in the /src/test/resources, and the test class is in src/test/java (JCasGenMojoTest).

> JCasGen for producing FSArray is a raw type warning
> ---------------------------------------------------
>
>                 Key: UIMA-6056
>                 URL: https://issues.apache.org/jira/browse/UIMA-6056
>             Project: UIMA
>          Issue Type: Bug
>          Components: UIMA
>    Affects Versions: 3.0.2SDK
>            Reporter: Hai-Son Nguyen
>            Priority: Minor
>         Attachments: patch-uima-6056v1.txt, typeSystemDescriptorTest.xml
>
>
> With the conversion of FSArray into Generic FSArray<> the JCasGen process does
not handle the Generic type properly and will cause extensive warnings in application code.
> The 4 methods generating warnings are:
> xXXX - Feature name, Generic - generic type
>  * *public* FSArray getXXX() { *...* }
>  * *public* *void* setXXX(FSArray v) \{ ... }    
>  * *public* Generic getXXX(*int* i) \{ ... }
>  * *public* *void* setXXX(*int* i, Generic v) \{ ... }



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

Mime
View raw message