[
https://issues.apache.org/jira/browse/LUCENE-6611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14602136#comment-14602136
]
ASF GitHub Bot commented on LUCENE-6611:
----------------------------------------
Github user rmp91 commented on the pull request:
https://github.com/apache/lucene-solr/pull/163#issuecomment-115430640
for https://issues.apache.org/jira/browse/LUCENE-6611
> Potential resource leakage in DirectoryTaxonomyWriter.java
> ----------------------------------------------------------
>
> Key: LUCENE-6611
> URL: https://issues.apache.org/jira/browse/LUCENE-6611
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/facet
> Affects Versions: Trunk
> Reporter: Rishabh Patel
> Priority: Minor
> Labels: github-import
>
> The resource 'in' is closed in an unsafe manner, potentially leading to
> resource leak.
> It can be fixed by using the try-with-resources construct.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]