GitHub user mimaison opened a pull request:
https://github.com/apache/kafka/pull/4196
MINOR: KafkaZkClient refactor. Use match instead of if/else chains
Follow up from https://github.com/apache/kafka/pull/4111
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mimaison/kafka zkclient_refactor
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/4196.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 #4196
commit a570d29587eae543c3dd3069965c6fe73fc9f347
Author: Mickael Maison
Date: 2017-11-08T20:33:07Z
MINOR: Refactored KafkaZkClient. Use match instead of if/else chains
commit c81f3c567324c90ae14b1ac23c8cec5169d42f4c
Author: Mickael Maison
Date: 2017-11-08T20:56:59Z
Refactor exception cases
---