google-code-export / uimafit

Automatically exported from code.google.com/p/uimafit
2 stars 1 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

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