You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Rishabh Patel (JIRA)" <ji...@apache.org> on 2015/06/27 00:01:06 UTC

[jira] [Created] (LUCENE-6622) Resource leak in DiffIt.java

Rishabh Patel created LUCENE-6622:
-------------------------------------

             Summary: Resource leak in DiffIt.java
                 Key: LUCENE-6622
                 URL: https://issues.apache.org/jira/browse/LUCENE-6622
             Project: Lucene - Core
          Issue Type: Bug
          Components: modules/analysis
    Affects Versions: Trunk
            Reporter: Rishabh Patel
            Priority: Minor


In the file {{DiffIt.java}}, {{LineNumberReader in}} is not closed.

Fix by adding try-finally 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