On 07/14/2012 05:35 AM, William Colen wrote:
I think it is better now, but I am not happy with the fact that we have two constructors in each tool factory. I will think how to get rid of the constructors that takes the same arguments of the method init. I would appreciate if you have an opinion about it.
Usually the init method will not be called by user code. So only OpenNLP code calls this once after the factory is created. I think we should document this in the javadoc of the class and remove the constructor which takes the arguments we now pass in via the init method. Jörn