You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/09/10 06:59:17 UTC

[GitHub] [pulsar] lhotari commented on pull request #11994: [Broker] Cleanup: remove unnecessary boxing

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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org