DomGarguilo opened a new pull request, #5946: URL: https://github.com/apache/accumulo/pull/5946
The main change here is to add the `Preconditions.checkState(allSummaries != null)` before we try to use `allSummaries`. The code just relied on external usage being correct (avoiding calling these methods when `allSummaries` was passed in as null) and this change makes that check explicit. While I was changing the file, I made the class into a record which simplified the boilerplate a lot for both `SummarySerializer` and `SummarySerializer.LgSummaries` -- 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]
