[ https://issues.apache.org/jira/browse/UIMA-6152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012226#comment-17012226 ]
Marshall Schor commented on UIMA-6152: -------------------------------------- Fixed up slightly to add protectIndexes and after fixing a bug in that, the tests now run. Merged to master. > "trim" method for AnnotationFS > ------------------------------ > > Key: UIMA-6152 > URL: https://issues.apache.org/jira/browse/UIMA-6152 > Project: UIMA > Issue Type: New Feature > Components: UIMA > Reporter: Richard Eckart de Castilho > Assignee: Richard Eckart de Castilho > Priority: Minor > Fix For: 3.2.0SDK > > Time Spent: 20m > Remaining Estimate: 0h > > Usually leading or trailing whitespace is not helpful in text annotations. > Thus, it would be nice to have a `trim()` convenience method on AnnotationFS > which increases/decreases begin/end such that leading/trailing whitespace is > removed from the annotation. -- This message was sent by Atlassian Jira (v8.3.4#803005)