You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Rishabh Patel (JIRA)" <ji...@apache.org> on 2015/07/07 01:29:06 UTC

[jira] [Closed] (LUCENE-6611) Potential resource leakage in DirectoryTaxonomyWriter.java

     [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org