gianm commented on issue #14502: URL: https://github.com/apache/druid/issues/14502#issuecomment-1613735377
For `LongConstantBufferAggregatorTest` specifically, I think we can replace `buffer = EasyMock.mock(ByteBuffer.class)` with `buffer = null`. It's just verifying that the `LongConstantBufferAggregator` is not calling any methods on `buffer`. Can't call methods on `null` 😉 -- 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]
