[AMQ-6643] final modifier for test in the right place

This commit is contained in:
gtully 2017-04-04 10:57:57 +01:00
parent 2a2cb3997f
commit 8b064889c6
1 changed files with 4 additions and 4 deletions

View File

@ -70,9 +70,9 @@ public class VirtualTopicWildcardTest {
@Test
public void testWildcardAndSimpleConsumerShareMessages() throws Exception {
final ConsumerBean messageList1 = new ConsumerBean("1:");
final ConsumerBean messageList2 = new ConsumerBean("2:");
final ConsumerBean messageList3 = new ConsumerBean("3:");
ConsumerBean messageList1 = new ConsumerBean("1:");
ConsumerBean messageList2 = new ConsumerBean("2:");
ConsumerBean messageList3 = new ConsumerBean("3:");
messageList1.setVerbose(true);
messageList2.setVerbose(true);
@ -120,7 +120,7 @@ public class VirtualTopicWildcardTest {
return cf.createConnection();
}
protected void assertMessagesArrived(ConsumerBean messageList1, ConsumerBean messageList2) {
protected void assertMessagesArrived(final ConsumerBean messageList1, final ConsumerBean messageList2) {
try {
assertTrue("expected", Wait.waitFor(new Wait.Condition() {
@Override