yx9o opened a new issue, #8276: URL: https://github.com/apache/rocketmq/issues/8276
### Before Creating the Enhancement Request - [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature. ### Summary I found a duplicate structure in the constructor. <img width="842" alt="image" src="https://github.com/apache/rocketmq/assets/12792261/159b3fd0-d366-4f80-841a-3d1e01d8ac06"> ### Motivation To reduce code duplication and improve code reusability. ### Describe the Solution You'd Like We can let one constructor call another constructor, and finally perform the actual assignment operation only in one constructor. ### Describe Alternatives You've Considered In each constructor, directly call the most complete constructor. ### 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