You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Mike Barborak (Created) (JIRA)" <de...@uima.apache.org> on 2012/03/22 21:52:22 UTC
[jira] [Created] (UIMA-2384) AnnotationBase.getSofa()
implementation has "uima.tcas.Annotation" in exception
AnnotationBase.getSofa() implementation has "uima.tcas.Annotation" in exception
-------------------------------------------------------------------------------
Key: UIMA-2384
URL: https://issues.apache.org/jira/browse/UIMA-2384
Project: UIMA
Issue Type: Bug
Affects Versions: 2.3
Reporter: Mike Barborak
Priority: Minor
The getSofa method is thus defined:
public SofaFS getSofa() {
if (AnnotationBase_Type.featOkTst && ((AnnotationBase_Type) jcasType).casFeat_sofa == null)
this.jcasType.jcas.throwFeatMissing("sofa", "uima.tcas.Annotation");
return (SofaFS) jcasType.ll_cas.ll_getFSForRef(
jcasType.ll_cas.ll_getRefValue(addr, ((AnnotationBase_Type)jcasType).casFeatCode_sofa));
}
It seems the missing feature exception should have "uima.tcas.AnnotationBase". If this is correct then a comment might be warranted.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (UIMA-2384) AnnotationBase.getSofa()
implementation has "uima.tcas.Annotation" in exception
Posted by "Mike Barborak (Updated) (JIRA)" <de...@uima.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Barborak updated UIMA-2384:
--------------------------------
Description:
The getSofa method is thus defined:
{code}
public SofaFS getSofa() {
if (AnnotationBase_Type.featOkTst && ((AnnotationBase_Type) jcasType).casFeat_sofa == null)
this.jcasType.jcas.throwFeatMissing("sofa", "uima.tcas.Annotation");
return (SofaFS) jcasType.ll_cas.ll_getFSForRef(
jcasType.ll_cas.ll_getRefValue(addr, ((AnnotationBase_Type)jcasType).casFeatCode_sofa));
}
{code}
It seems the missing feature exception should have "uima.tcas.AnnotationBase". If this is correct then a comment might be warranted.
was:
The getSofa method is thus defined:
public SofaFS getSofa() {
if (AnnotationBase_Type.featOkTst && ((AnnotationBase_Type) jcasType).casFeat_sofa == null)
this.jcasType.jcas.throwFeatMissing("sofa", "uima.tcas.Annotation");
return (SofaFS) jcasType.ll_cas.ll_getFSForRef(
jcasType.ll_cas.ll_getRefValue(addr, ((AnnotationBase_Type)jcasType).casFeatCode_sofa));
}
It seems the missing feature exception should have "uima.tcas.AnnotationBase". If this is correct then a comment might be warranted.
> AnnotationBase.getSofa() implementation has "uima.tcas.Annotation" in exception
> -------------------------------------------------------------------------------
>
> Key: UIMA-2384
> URL: https://issues.apache.org/jira/browse/UIMA-2384
> Project: UIMA
> Issue Type: Bug
> Affects Versions: 2.3
> Reporter: Mike Barborak
> Priority: Minor
>
> The getSofa method is thus defined:
> {code}
> public SofaFS getSofa() {
> if (AnnotationBase_Type.featOkTst && ((AnnotationBase_Type) jcasType).casFeat_sofa == null)
> this.jcasType.jcas.throwFeatMissing("sofa", "uima.tcas.Annotation");
> return (SofaFS) jcasType.ll_cas.ll_getFSForRef(
> jcasType.ll_cas.ll_getRefValue(addr, ((AnnotationBase_Type)jcasType).casFeatCode_sofa));
> }
> {code}
> It seems the missing feature exception should have "uima.tcas.AnnotationBase". If this is correct then a comment might be warranted.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira