You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/09/01 11:33:03 UTC

[GitHub] [pulsar] aloyszhang opened a new pull request #7947: replace if..else with switch

aloyszhang opened a new pull request #7947:
URL: https://github.com/apache/pulsar/pull/7947


   # Motivation
   Refactor code by replacing `if..else` with `switch`. Since `switch` is more effective when have lots of if conditions, also more concise and readable.
   
   
   


----------------------------------------------------------------
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] [pulsar] codelipenghui commented on pull request #7947: replace if..else with switch

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on pull request #7947:
URL: https://github.com/apache/pulsar/pull/7947#issuecomment-685729602


   /pulsarbot run-failure-checks


----------------------------------------------------------------
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] [pulsar] codelipenghui merged pull request #7947: replace if..else with switch

Posted by GitBox <gi...@apache.org>.
codelipenghui merged pull request #7947:
URL: https://github.com/apache/pulsar/pull/7947


   


----------------------------------------------------------------
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