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

Rishabh Patel updated LUCENE-6612:
----------------------------------
    Description: 
In the file {{JaspellTernarySearchTrie.java}}, the resouce 'in' could be leaked 
upon exception.

It can be fixed with a try-finally block.

  was:
In the file JaspellTernarySearchTrie.java, the resouce 'in' could be leaked 
upon exception.

It can be fixed with a try-finally block.


> Resource leak
> -------------
>
>                 Key: LUCENE-6612
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6612
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: Trunk
>            Reporter: Rishabh Patel
>            Priority: Minor
>              Labels: github-pullrequest
>
> In the file {{JaspellTernarySearchTrie.java}}, the resouce 'in' could be 
> leaked upon exception.
> It can be fixed with a try-finally block.



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