Skip to content

Commit 8674e46

Browse files
author
Simon MacMullen
committed
Cosmetics
1 parent 01abbed commit 8674e46

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

test/src/com/rabbitmq/client/test/functional/InternalExchangeTest.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@
3333

3434
import com.rabbitmq.client.DefaultConsumer;
3535
import com.rabbitmq.client.GetResponse;
36-
import com.rabbitmq.client.QueueingConsumer;
37-
import com.rabbitmq.client.ShutdownSignalException;
3836
import com.rabbitmq.client.test.BrokerTestCase;
3937

4038
import java.io.IOException;
@@ -81,7 +79,6 @@ protected void createResources() throws IOException
8179

8280
channel.exchangeBind("e1", "e0", "");
8381
channel.queueBind("q1", "e1", "");
84-
8582
}
8683

8784
@Override
@@ -99,8 +96,7 @@ protected void releaseResources() throws IOException
9996

10097

10198
public void testTryPublishingToInternalExchange()
102-
throws IOException,
103-
InterruptedException
99+
throws IOException
104100
{
105101
byte[] testDataBody = "test-data".getBytes();
106102

@@ -111,7 +107,6 @@ public void testTryPublishingToInternalExchange()
111107
GetResponse r = channel.basicGet("q1", true);
112108
assertTrue(Arrays.equals(r.getBody(), testDataBody));
113109

114-
115110
// Publishing to the internal exchange will not be allowed...
116111
channel.basicPublish("e1", "", null, testDataBody);
117112
try

0 commit comments

Comments
 (0)