SzyWilliam commented on PR #712: URL: https://github.com/apache/ratis/pull/712#issuecomment-1228597622
@szetszwo Thanks for the reviews! I've made corresponding changes. However, if we have a function return type `Void` and return value `null`, `Optional.map` will return Optional.Empty, and `isPresent` on Empty will return false. Therefore, I have the previous code `return true` unmodified so that `sent` is properly assigned. Please take a look at it~ -- 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]
