GitHub user zd-project opened a pull request:
https://github.com/apache/storm/pull/2769
Fixed a potential file resource leak.
The file is not properly put in the try-with-resource/try-finally block.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zd-project/storm resource-leak
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/2769.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 #2769
----
commit 8a7b30ddcfd290eeb17e8d86dbedce7eec414aeb
Author: Zhengdai Hu <hu.zhengdai@...>
Date: 2018-07-19T20:43:42Z
Fixed a potential file resource leak.
----
---