[
https://issues.apache.org/jira/browse/ZOOKEEPER-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15802572#comment-15802572
]
ASF GitHub Bot commented on ZOOKEEPER-2511:
-------------------------------------------
GitHub user afine opened a pull request:
https://github.com/apache/zookeeper/pull/143
ZOOKEEPER-2511: Implement AutoCloseable in ZooKeeper.java
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/afine/zookeeper ZOOKEEPER-2511
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/143.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 #143
----
commit 5ef495483a080c390ac512e602014f0937b1fd15
Author: Abraham Fine <[email protected]>
Date: 2017-01-05T21:26:26Z
ZOOKEEPER-2511: Implement AutoCloseable in ZooKeeper.java
----
> Implement AutoCloseable in ZooKeeper.java
> -----------------------------------------
>
> Key: ZOOKEEPER-2511
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2511
> Project: ZooKeeper
> Issue Type: Improvement
> Reporter: Abraham Fine
> Assignee: Abraham Fine
> Fix For: 3.5.3
>
> Attachments: ZOOKEEPER-2511.patch
>
>
> As a java developer I would like to be able to use try-with-resource blocks
> with ZooKeeper objects in order to make closing sessions easier.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)