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/26 22:55:04 UTC

[jira] [Commented] (LUCENE-6619) Resource leak

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

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

GitHub user rmp91 opened a pull request:

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

    LUCENE-6619: Fixed resource leak

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

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

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

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

    https://github.com/apache/lucene-solr/pull/168.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 #168
    
----
commit 277ab58bd083d6b946f708ee4341bc4209746707
Author: Rishabh Patel <ri...@gmail.com>
Date:   2015-06-26T20:52:58Z

    Fixed resource leak

----


> Resource leak
> -------------
>
>                 Key: LUCENE-6619
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6619
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/analysis
>    Affects Versions: Trunk
>            Reporter: Rishabh Patel
>            Priority: Minor
>              Labels: github-pullrequest
>
> In {{Compile.java}}, the resource {{LineNumberReader in}} is not closed correctly.
> It can be fixed by using 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