[
https://issues.apache.org/jira/browse/OPENNLP-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17232061#comment-17232061
]
ASF GitHub Bot commented on OPENNLP-1311:
-----------------------------------------
jzonthemtn merged pull request #380:
URL: https://github.com/apache/opennlp/pull/380
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Replace try-finally with try-with-resources.
> --------------------------------------------
>
> Key: OPENNLP-1311
> URL: https://issues.apache.org/jira/browse/OPENNLP-1311
> Project: OpenNLP
> Issue Type: Improvement
> Reporter: Alan Wang
> Priority: Major
>
> We can use try-with-resources to ensure that resources will be closed,
> simplify the code.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)