GitHub user ijuma opened a pull request:
https://github.com/apache/kafka/pull/1775
MINOR: Move a few methods from the `ZKUtils` class to the companion object
They don't require access to `ZkClient`.
Also include a few obvious clean-ups in `ZKUtils`:
* Remove redundant rethrows and braces
* Use named arguments for booleans
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ijuma/kafka
move-some-zk-utils-methods-to-companion-object
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1775.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 #1775
----
commit 9ae3d59ba234e6b2df45aada42e1069dd1f0bca0
Author: Ismael Juma <[email protected]>
Date: 2016-08-23T16:00:34Z
Move a few methods from the `ZKUtils` class to the companion object
They don't require access to `ZkClient`.
commit 387afe6c8c482cfb77dc9328329d13d78e0a983e
Author: Ismael Juma <[email protected]>
Date: 2016-08-23T16:02:28Z
A few obvious clean-ups in `ZKUtils`
Remove redundant rethrows and braces. Use named
arguments for booleans.
----
---
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.
---