andsel opened a new issue #2853:
URL: https://github.com/apache/rocketmq/issues/2853


   The methods `asycPutMessage` and `putMessage` in class `CommitLog` shares a 
lot of code:
   
   
https://github.com/apache/rocketmq/blob/b4240d5cea8d001c21b9c0d73f5aa700fcd0d568/store/src/main/java/org/apache/rocketmq/store/CommitLog.java#L559-L662
   
   
https://github.com/apache/rocketmq/blob/b4240d5cea8d001c21b9c0d73f5aa700fcd0d568/store/src/main/java/org/apache/rocketmq/store/CommitLog.java#L788-L902
   
   removing duplication simplify the code base.


-- 
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:
[email protected]


Reply via email to