You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/03/14 11:51:10 UTC

[GitHub] [kafka] chia7712 opened a new pull request #10314: MINOR: remove redundant null check when testing specified type

chia7712 opened a new pull request #10314:
URL: https://github.com/apache/kafka/pull/10314


   inspired by https://github.com/apache/kafka/pull/10141#discussion_r589425927
   
   the `instanceof` includes null check already so we can get rid of redundant null check.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kafka] chia7712 merged pull request #10314: MINOR: remove redundant null check when testing specified type

Posted by GitBox <gi...@apache.org>.
chia7712 merged pull request #10314:
URL: https://github.com/apache/kafka/pull/10314


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org