[
https://issues.apache.org/jira/browse/OPENNLP-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Wiesner closed OPENNLP-1494.
-----------------------------------
Resolution: Fixed
> Improve resource handling of AutoCloseable streams in several classes
> ---------------------------------------------------------------------
>
> Key: OPENNLP-1494
> URL: https://issues.apache.org/jira/browse/OPENNLP-1494
> Project: OpenNLP
> Issue Type: Improvement
> Affects Versions: 2.2.0
> Reporter: Martin Wiesner
> Assignee: Martin Wiesner
> Priority: Trivial
> Fix For: 2.2.1
>
>
> As the title says.
> Aim:
> * Make use of try-with-resources to ensure close() method is called in case
> of exceptions during processing of a streamed resource.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)