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