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 2018/07/03 19:05:00 UTC
[jira] [Commented] (UIMA-5740) uv3 check missing in get/set feature
value
[ https://issues.apache.org/jira/browse/UIMA-5740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16531815#comment-16531815 ]
Marshall Schor commented on UIMA-5740:
--------------------------------------
added code for the getFeatureValue (feat) ; the other APIs (e.g. setFeatureValue) already seem to check that the feature's range type "subsumes" the value type.
> uv3 check missing in get/set feature value
> ------------------------------------------
>
> Key: UIMA-5740
> URL: https://issues.apache.org/jira/browse/UIMA-5740
> Project: UIMA
> Issue Type: Bug
> Components: Core Java Framework
> Affects Versions: 3.0.0SDK
> Reporter: Marshall Schor
> Assignee: Marshall Schor
> Priority: Minor
> Fix For: 3.0.1SDK
>
>
> Add missing check in the get/set feature value APIs: validate that the Feature being used has a range of a Feature Structure. Throw exception if range is a primitive. Make work like v2.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)