[
https://issues.apache.org/jira/browse/FLINK-3773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245476#comment-15245476
]
ASF GitHub Bot commented on FLINK-3773:
---------------------------------------
Github user fhueske commented on the pull request:
https://github.com/apache/flink/pull/1902#issuecomment-211334932
Thanks for the contribution, @samaitra !
PR looks good to merge.
> 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
> Assignee: Saikat Maitra
> 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)