wyyl1 opened a new pull request, #7789: URL: https://github.com/apache/rocketmq/pull/7789
<!-- Please make sure the target branch is right. In most case, the target branch should be `develop`. --> ### Which Issue(s) This PR Fixes Refactor Fixes #7788 ### Brief Description 1. Consistency in abstraction levels 2. Use method names instead of comments 3. Make the code more concise: inline the result returned by a successful condition into a block of code ### How Did You Test This Change? AllocateMachineRoomNearByTest ran successfully -- 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 For queries about this service, please contact Infrastructure at: us...@infra.apache.org