You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Mark Giaconia (JIRA)" <ji...@apache.org> on 2014/03/12 12:14:43 UTC

[jira] [Closed] (OPENNLP-632) Improve the stream handling in the EntityLinkerProperties constructors

     [ https://issues.apache.org/jira/browse/OPENNLP-632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Giaconia closed OPENNLP-632.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.0

done

> 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
>             Fix For: 1.6.0
>
>
> 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.2#6252)