yjshen opened a new pull request #6613: [cleanup] Optional usage URL: https://github.com/apache/pulsar/pull/6613 This PR aims to fix or simplify `Optional` type usage logic: - Null value used for optional type. - Optional.isPresent() can be replaced with functional style expression - Optional call chain that can be simplified.
---------------------------------------------------------------- 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] With regards, Apache Git Services
