lhotari commented on pull request #11994: URL: https://github.com/apache/pulsar/pull/11994#issuecomment-916677173
> I searched the code, and there are many places where this situation occurs, such as: > `PoliciesUtil#getBundles` +1 btw. In Errorprone there is a check for finding these, https://errorprone.info/bugpattern/UnnecessaryBoxedVariable . Perhaps running that for the whole code base at once could be useful. The maven build for pulsar contains configuration for Errorprone. SpotBugs might have a similar check. -- 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]
