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

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

> Potential resource leak in WordDictionary.java
> ----------------------------------------------
>
>                 Key: LUCENE-6610
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6610
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/analysis
>    Affects Versions: Trunk
>            Reporter: Rishabh Patel
>            Priority: Minor
>              Labels: github-pullrequest
>
> In the file {{WordDictionary.java}}, the input and output object stream might 
> not get closed upon an exception. 
> Fix with try-with-resources construct.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to