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

Rishabh Patel closed LUCENE-6611.
---------------------------------
    Resolution: Duplicate

> 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-pullrequest
>
> 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]

Reply via email to