From cb7183c473e96c359727374d070231d020056803 Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Tue, 15 Aug 2017 12:31:06 -0400 Subject: [PATCH] ARTEMIS-1348 Fixing Checkstyle --- .../activemq/artemis/tests/integration/amqp/JMSLVQTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/JMSLVQTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/JMSLVQTest.java index b634a3954a..38af6bf593 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/JMSLVQTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/JMSLVQTest.java @@ -133,7 +133,6 @@ public class JMSLVQTest extends JMSClientTestSupport { message2.setText("how are you"); p.send(queue1, message2); - Session consumerSession = consumerConnection.createSession(); Queue consumerQueue = consumerSession.createQueue(LVQ_QUEUE_NAME); MessageConsumer consumer = consumerSession.createConsumer(consumerQueue); @@ -143,7 +142,6 @@ public class JMSLVQTest extends JMSClientTestSupport { assertTrue(msg instanceof TextMessage); assertEquals("how are you", ((TextMessage)msg).getText()); consumer.close(); - } finally { producerConnection.close(); consumerConnection.close();