sounds good, I'll remove
thanks
MG

On Thu, Oct 24, 2013 at 7:47 AM, Jörn Kottmann <[email protected]> wrote:

> On 10/24/2013 12:58 PM, [email protected] wrote:
>
>> +  public EntityLinkerProperties(String propertiesfile) throws
>> IOException, FileNotFoundException {
>> +    this.propertyFileLocation = propertiesfile;
>>       stream = new FileInputStream(**propertiesfile);
>>       props.load(stream);
>> +    stream.close();
>>     }
>>
>
> In other parts of OpenNLP we removed all these constructors and methods
> which take a String for a file,
> because it makes it clear from the method signature what is expected.
>
> Jörn
>

Reply via email to