GabrielBrascher opened a new pull request #3932: Prevent overflow and null pointer on StatsCollector.java URL: https://github.com/apache/cloudstack/pull/3932 ## Description <!--- Describe your changes in detail --> Did a quick check and found some code issues that can result in overflow or null pointer exceptions. Additionally, I took the liberty to do a couple of code enhancements. ## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [X] Bug fix (non-breaking change which fixes an issue) - [X] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services