Rishabh Patel created LUCENE-6611:
-------------------------------------
Summary: 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
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]