diff --git a/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/LegacyFrameTranslatorTest.java b/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/LegacyFrameTranslatorTest.java index 85b51dba0b..bdcfceb7fb 100644 --- a/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/LegacyFrameTranslatorTest.java +++ b/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/LegacyFrameTranslatorTest.java @@ -47,9 +47,8 @@ public class LegacyFrameTranslatorTest { @Override public ActiveMQDestination answer(InvocationOnMock invocation) throws Throwable { - - String name = invocation.getArgumentAt(0, String.class); - boolean topic = invocation.getArgumentAt(1, Boolean.class); + String name = invocation.getArgument(0, String.class); + boolean topic = invocation.getArgument(1, Boolean.class); name = "temp-" + (topic ? "topic://" : "queue://X:") + UUID.randomUUID().toString(); diff --git a/pom.xml b/pom.xml index bd9d5f911e..d41ff870b5 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ 0.9 1.8 1.2.17 - 1.10.19 + 3.8.0 5.2.4 1.7.4 1.16