Tibor17 commented on a change in pull request #332: URL: https://github.com/apache/maven-surefire/pull/332#discussion_r564429679
########## File path: maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/extensions/StreamFeederTest.java ########## @@ -90,9 +91,9 @@ public void shouldEncodeCommandToStream() throws Exception public Object answer( InvocationOnMock invocation ) throws IOException { ByteBuffer bb = invocation.getArgument( 0 ); Review comment: Maybe it would be nicer to declare the type here and then we do not have to cast `bb`. ---------------------------------------------------------------- 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