You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Joern Kottmann (JIRA)" <ji...@apache.org> on 2014/01/14 23:47:19 UTC
[jira] [Created] (OPENNLP-632) Improve the stream handling in the
EntityLinkerProperties constructors
Joern Kottmann created OPENNLP-632:
--------------------------------------
Summary: Improve the stream handling in the EntityLinkerProperties constructors
Key: OPENNLP-632
URL: https://issues.apache.org/jira/browse/OPENNLP-632
Project: OpenNLP
Issue Type: Bug
Components: Entity Linker
Reporter: Joern Kottmann
Assignee: Mark Giaconia
The stream handling in the various constructors should be improved.
The constructor taking an InputStream should not close it, that is the responsibility of the caller. The constructor taking a File object should use a try catch statement to ensure the stream is closed even when loading the property file fails.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)