[UIMA-5067] JCasUtil.selectSingleRelative returns wrong object
- Throw an IllegalArgumentException if the anchor type does not subsume the selected type and position is 0
- Added unit tests to for both cases (subsumed/not subsumed)
- Document new behavior
- Renamed arguments (cosmetic change)



git-svn-id: https://svn.apache.org/repos/asf/uima/uimafit/trunk@1787457 13f79535-47bb-0310-9956-ffa450edef68
3 files changed