ptlrs opened a new pull request, #10035: URL: https://github.com/apache/ozone/pull/10035
## What changes were proposed in this pull request? This PR: 1. Enables [BigIntegerInstantiation](https://docs.pmd-code.org/latest/pmd_rules_java_performance.html#bigintegerinstantiation) PMD rule to avoid creating instances of already existing BigInteger 2. Avoids unnecessary boxing. Use `BigInteger.valueOf(<String/primitive>)` where possible 3. Avoids eager instantiation ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-14955 ## How was this patch tested? CI: https://github.com/ptlrs/ozone/actions/runs/23931631050 -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
