google-code-export / uimafit

Automatically exported from code.google.com/p/uimafit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecate TypeSystemDescriptionFactory.createTypeSystemDescription(Class<?>...)

GoogleCodeExporter opened this issue · comments

From the JavaDoc:

Creates a TypeSystemDescription from a list of classes belonging to a type 
system - i.e. classes generated by JCasGen. It is expected that for each of the 
classes passed to this method, an XML type description exists with the same 
name as the class and in the same package. It is further expected, that each of 
these type system descriptors declares a single type, for which a JCas wrapper 
class has been generated, which has been passed to this method.

This is not the method you want to use. If you declare only one type per XML 
type descriptor, you'll end up with LOTS of these. Use 
createTypeSystemDescription(String...) or automatic type system detection with 
createTypeSystemDescription().

Original issue reported on code.google.com by richard.eckart on 20 Nov 2011 at 5:09

Done in rv 653. Calls to this method have been mostly replaced with calls to 
the automatic type system detection.

Original comment by richard.eckart on 20 Nov 2011 at 5:59

Original comment by richard.eckart on 20 Nov 2011 at 6:00

  • Changed state: Fixed

Original comment by richard.eckart on 2 Jan 2012 at 7:24

  • Added labels: Milestone-1.2.1

Original comment by richard.eckart on 4 Jan 2012 at 10:52

  • Added labels: Milestone-1.3.0