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 2013/03/26 13:15:16 UTC

[jira] [Closed] (UIMA-2695) Bad code reference in API doc

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

Marshall Schor closed UIMA-2695.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4.1SDK
    
> Bad code reference in API doc
> -----------------------------
>
>                 Key: UIMA-2695
>                 URL: https://issues.apache.org/jira/browse/UIMA-2695
>             Project: UIMA
>          Issue Type: Bug
>    Affects Versions: 2.4.0SDK
>            Reporter: Hao Zhong
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: 2.4.1SDK
>
>
> 1. http://uima.apache.org/d/uimaj-2.4.0/apidocs/org/apache/uima/UIMARuntimeException.html
> "CasManager.release(CAS) was called with a CAS that does not belong to this CasManager."
> According to http://uima.apache.org/d/uimaj-2.4.0/apidocs/org/apache/uima/resource/CasManager.html, CasManager has not a release method, but a releaseCas method.
> 2. http://uima.apache.org/d/uimaj-2.4.0/apidocs/org/apache/uima/jcas/cas/TOP.html
> http://uima.apache.org/d/uimaj-2.4.0/apidocs/org/apache/uima/jcas/cas/NonEmptyFSList.html
> http://uima.apache.org/d/uimaj-2.4.0/apidocs/index.html?org/apache/uima/jcas/cas/ByteArray.html
> These classes extend the org.apache.uima.cas.impl.FeatureStructureImpl
>  class. However, according to http://uima.apache.org/d/uimaj-2.4.0/apidocs/org/apache/uima/cas/impl/package-summary.html, the org.apache.uima.cas.impl package does not have a class whose name is FeatureStructureImpl. 
> Uimaj 2.3 has such a class. Perhaps, it is deleted in the latest version.
> 3. http://uima.apache.org/d/uimaj-2.4.0/apidocs/org/apache/uima/jcas/tcas/DocumentAnnotation.html
> "When text CASs are created, one instance of this type is created and made accessable via a call to the JCasImpl.getDocumentAnnotationFs() method."
> Uimaj 2.4 does not have a JCasImpl class, whereas Uimaj 2.3 has. 
> Please revise the documents to reflect the latest code. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira