You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/04/17 02:34:25 UTC

[jira] [Created] (FLINK-3773) Scanners are left unclosed in SqlExplainTest

Ted Yu created FLINK-3773:
-----------------------------

             Summary: Scanners are left unclosed in SqlExplainTest
                 Key: FLINK-3773
                 URL: https://issues.apache.org/jira/browse/FLINK-3773
             Project: Flink
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


e.g.
{code}
    String source = new Scanner(new File(testFilePath +
        "../../src/test/scala/resources/testFilter0.out"))
{code}
Scanner implements AutoCloseable.
Using try-with-resources would be a good pattern for closing the Scanners.



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