Closed GoogleCodeExporter closed 9 years ago
Should be compatible since Annotation implements AnnotationFS.
Original comment by richard.eckart
on 8 Nov 2011 at 1:33
We have many select-type methods that accept only Annotation and only one that
accepts AnnotationFS (JCasUtil.selectCovered(Class<T>, AnnotationFS)). Probably
all the methods that take a Annotation should be changed.
Original comment by richard.eckart
on 2 Jan 2012 at 7:35
Original comment by richard.eckart
on 2 Jan 2012 at 7:35
Original comment by richard.eckart
on 4 Jan 2012 at 10:51
Original comment by richard.eckart
on 5 Jul 2012 at 4:02
Original comment by richard.eckart
on 5 Jul 2012 at 8:37
Changed others to AnnotationFS as well.
Original comment by richard.eckart
on 5 Jul 2012 at 9:30
This change may not be binary backwards-compatible, even though Annotation
implements AnnotationFS. I get this exception in some older compiled code:
java.lang.NoSuchMethodError:
org.uimafit.util.JCasUtil.isCovered(Lorg/apache/uima/jcas/JCas;Lorg/apache/uima/
jcas/tcas/Annotation;Ljava/lang/Class;)Z
Original comment by richard.eckart
on 16 Jul 2012 at 7:26
Original issue reported on code.google.com by
richard.eckart
on 8 Nov 2011 at 1:17