GitHub user sugartxy opened a pull request:
https://github.com/apache/zookeeper/pull/36
#ZOOKEEPER-2218 Close IO Streams in finally block
Place the close method in the finally clause, so we can ensure it always
runs regardless of how the method exits.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sugartxy/zookeeper CloseRightly
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/36.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 #36
----
commit 90745d7476504630c1d68772c26546b28639ba91
Author: sugartxy <[email protected]>
Date: 2015-06-23T02:36:11Z
#ZOOKEEPER-2218 Close IO Streams in finally block
Place the close method in the finally clause, so we can ensure it always
runs regardless of how the method exits.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---