gemmellr commented on code in PR #5477: URL: https://github.com/apache/activemq-artemis/pull/5477#discussion_r1935537764
########## tests/db-tests/src/test/java/org/apache/activemq/artemis/tests/db/paging/PagingTest.java: ########## @@ -449,6 +450,12 @@ public void testSimpleCursorIteratorLargeMessage() throws Exception { message.getBodyBuffer().writerIndex(0); + message.getBodyBuffer().writeBytes(new byte[numberOfBytes]); + + for (int j = 1; j <= numberOfBytes; j++) { + message.getBodyBuffer().writeInt(j); + } Review Comment: It definitely makes it use the unused numberOfBytes variable, but why write _both_ an array of bytes, and all the ints? -- 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: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For additional commands, e-mail: gitbox-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact