uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Eckart de Castilho (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-2802) Change selectCovered(class, annotation) signature
Date Mon, 08 Apr 2013 20:09:17 GMT
Richard Eckart de Castilho created UIMA-2802:

             Summary: Change selectCovered(class, annotation) signature
                 Key: UIMA-2802
                 URL: https://issues.apache.org/jira/browse/UIMA-2802
             Project: UIMA
          Issue Type: Bug
          Components: uimaFIT
            Reporter: Richard Eckart de Castilho
            Assignee: Richard Eckart de Castilho
             Fix For: 2.0.0uimaFIT

Change the signature from

selectCovered(Class<T> type, AnnotationFS coveringAnnotation)


selectCovered(AnnotationFS coveringAnnotation, Class<T> type)

Per convention, the thing to select from should be the first argument(s) and the following
arguments should specify what to select.

Probably also change

selectCovered(JCas jCas, final Class<T> type, AnnotationFS coveringAnnotation)


selectCovered(JCas jCas, AnnotationFS coveringAnnotation, final Class<T> type)

and so on. Probably best to even deprecate/remove the signature with both, JCas and coveringAnnotation,
because seeking only works when the coveringAnnotation is part of the CAS. 

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

View raw message