You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/25 21:50:04 UTC

[jira] [Commented] (LUCENE-6610) Potential resource leak in WordDictionary.java

    [ https://issues.apache.org/jira/browse/LUCENE-6610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14601816#comment-14601816 ] 

ASF GitHub Bot commented on LUCENE-6610:
----------------------------------------

GitHub user rmp91 opened a pull request:

    https://github.com/apache/lucene-solr/pull/162

    LUCENE-6610:Fixed potential resource leaks

    https://issues.apache.org/jira/browse/LUCENE-6610

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rmp91/lucene-solr LUCENE-6610

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/162.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #162
    
----
commit ded3f168e5204c2a88d23df02fd89c935f149d2c
Author: Rishabh Patel <ri...@gmail.com>
Date:   2015-06-25T19:45:38Z

    Fixed potential resource leaks

----


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