xiaoyifang commented on issue #5766: URL: https://github.com/apache/rocketmq/issues/5766#issuecomment-1364450910
`msg = msgTreeMap.firstEntry().getValue();` this line may return null ,though in reality it is not possible. and if exception is throw , `msg` may still be null and the logic is a little complex ,I think it can be rewrite with a more readable code. -- 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]
