From e38ac94a27347c89dddcd30c7a3e6063a69308dd Mon Sep 17 00:00:00 2001 From: Timothy Bish Date: Fri, 2 Jun 2017 14:20:56 -0400 Subject: [PATCH] AMQ-6697 Make the MBean explicitly final for java 7 support (cherry picked from commit 8417ce537b2cb96965827ebfb793f31814ba1ddd) --- .../java/org/apache/activemq/transport/stomp/Stomp11Test.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/Stomp11Test.java b/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/Stomp11Test.java index 5050399400..e12eacaf91 100644 --- a/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/Stomp11Test.java +++ b/activemq-stomp/src/test/java/org/apache/activemq/transport/stomp/Stomp11Test.java @@ -1153,7 +1153,7 @@ public class Stomp11Test extends StompTestSupport { String f = stompConnection.receiveFrame(); assertTrue(f.startsWith("CONNECTED")); - QueueViewMBean queueView = getProxyToQueue(getQueueName()); + final QueueViewMBean queueView = getProxyToQueue(getQueueName()); assertEquals(1, queueView.getQueueSize()); frame = "BEGIN\n" + "transaction: tx1\n" + "\n\n" + Stomp.NULL;