GitHub user himani1 opened a pull request: https://github.com/apache/kafka/pull/2050
Replaced unnecessary isDefined and get on option values with fold You can merge this pull request into a Git repository by running: $ git pull https://github.com/himani1/kafka refactored_code Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/2050.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 #2050 ---- commit 0f47ff386f1bfeb17ef61ae9227a07b9558c875c Author: himani1 <1himani.ar...@gmail.com> Date: 2016-10-21T10:55:24Z Replaced unnecessary isDefined and get on option values with fold. commit 6ecace1d1d246f8009abc14b25d74b278a6082de Author: himani1 <1himani.ar...@gmail.com> Date: 2016-10-21T11:02:41Z Error corrected in usage of fold ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---