GitHub user sagarchavan3172 opened a pull request: https://github.com/apache/kafka/pull/4232
KAFKA-6233 :Removed unnecessary null check *More detailed description of your change, if necessary. The PR title and PR message become the squashed commit message, so use a separate comment to ping reviewers.* *Summary of testing strategy (including rationale) for the feature or bug fix. Unit and/or integration tests are expected for any behaviour change and system tests should be considered for larger changes.* ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) You can merge this pull request into a Git repository by running: $ git pull https://github.com/sagarchavan3172/kafka trunk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/4232.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 #4232 ---- commit ea843103d6d10775e58be53bb6a02154c0a10735 Author: Sagar Chavan <sagar.chavan3...@gmail.com> Date: 2017-11-18T20:43:33Z Removed unnecessary null check ---- ---