jeanouii commented on code in PR #1628:
URL: https://github.com/apache/activemq/pull/1628#discussion_r2720189533
##########
activemq-unit-tests/src/test/java/org/apache/activemq/JMSConsumerTest.java:
##########
@@ -1066,4 +1070,13 @@ protected DestinationViewMBean
createView(ActiveMQDestination destination) throw
}
return (DestinationViewMBean)
broker.getManagementContext().newProxyInstance(name,
DestinationViewMBean.class, true);
}
+
+ private void assertNoAdditionalMessages(final AtomicInteger counter, final
int expected) throws Exception {
Review Comment:
From a code style perspective, I prefer because it's more readable. I'm
happy to use modern additions of the language.
--
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]
For further information, visit: https://activemq.apache.org/contact