socutes opened a new issue, #6230:
URL: https://github.com/apache/rocketmq/issues/6230
1.Simplified code
a.Anonymous new Runnable() can be replaced with lambda
b.'while' loop can be replaced with enhanced 'for'
c.Delete the unused method computeDelayLevel
d.Optimize the method name: Change messageTimeup to messageTimeUp
2.Logic optimization
a.Condition 'this.deliverPendingTable != null' is always 'true'
b.Change resendCount to atomic
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]