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:
us...@infra.apache.org


Reply via email to