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

Marshall Schor commented on UIMA-5233:
--------------------------------------

One other compatibility change: the new V3 class, CommonArray, had the same 
function/purpose as the v2 classs CommonArrayFS.  So CommonArray was deleted, 
and CommonArrayFS is used in its place.

> uv3 backwards compatibility - add nonJCas built-in cover classes back
> ---------------------------------------------------------------------
>
>                 Key: UIMA-5233
>                 URL: https://issues.apache.org/jira/browse/UIMA-5233
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: 3.0.0SDKexp
>
>
> UIMA v2 implemented for built-ins, 2 kinds of Java cover classes.  One was 
> "JCas" the other not.  Users not using the JCas could make use of the other 
> style.  V3 has only one style, and uses JCas versions for the actual Feature 
> Structure Implementation.  
> Create interfaces for the non-JCas style, and supply them with default 
> methods that cast "this" to the JCas style actually being used.
> Arrange the hierarchy to follow v2 where possible. Take out new v3 upper 
> hierarchy common classes where a v2 class already exists; use that class 
> instead (with appropriate casting as above) - so that V2 code that uses these 
> continues to work. 
> Update the docs: remove the part which says users have to rename the non-JCas 
> class uses to the JCas ones (will no longer be required).



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

Reply via email to