mawen12 opened a new issue, #8906: URL: https://github.com/apache/rocketmq/issues/8906
### Before Creating the Enhancement Request - [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature. ### Summary The variable authMode has no relations with foreach, it just call the `toUpperCase` method, so i think handle it outside the loop is better. ### Motivation authMode doesn't need to repeat call `toUpperCase`, it only need to be called once. ### Describe the Solution You'd Like Handle string toUpperCase outside the loop ### Describe Alternatives You've Considered No. ### Additional Context _No response_ -- 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. To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org