Skip to content

Commit 699bf79

Browse files
author
Simon MacMullen
committed
Cosmetic
1 parent 85805a8 commit 699bf79

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

test/src/com/rabbitmq/client/test/server/ChannelLimitNegotiation.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ public SpecialConnection(int channelMax) throws Exception {
2727

2828
private SpecialConnection(ConnectionFactory factory, int channelMax) throws Exception {
2929
super(factory.getUsername(),
30-
factory.getPassword(),
31-
new SocketFrameHandler(SocketFactory.getDefault().createSocket("localhost", AMQP.PROTOCOL.PORT)),
32-
Executors.newFixedThreadPool(1),
33-
factory.getVirtualHost(),
34-
factory.getClientProperties(),
35-
factory.getRequestedFrameMax(),
36-
channelMax,
37-
factory.getRequestedHeartbeat(),
38-
factory.getSaslConfig(),
39-
new DefaultExceptionHandler());
30+
factory.getPassword(),
31+
new SocketFrameHandler(SocketFactory.getDefault().createSocket("localhost", AMQP.PROTOCOL.PORT)),
32+
Executors.newFixedThreadPool(1),
33+
factory.getVirtualHost(),
34+
factory.getClientProperties(),
35+
factory.getRequestedFrameMax(),
36+
channelMax,
37+
factory.getRequestedHeartbeat(),
38+
factory.getSaslConfig(),
39+
new DefaultExceptionHandler());
4040

4141
this.channelMax = channelMax;
4242
}
@@ -92,7 +92,7 @@ public void testOpeningTooManyChannels() throws Exception {
9292

9393
// Construct a channel directly
9494
final ChannelN ch = new ChannelN((AMQConnection) conn, n + 1,
95-
new ConsumerWorkService(Executors.newSingleThreadExecutor()));
95+
new ConsumerWorkService(Executors.newSingleThreadExecutor()));
9696
conn.addShutdownListener(new ShutdownListener() {
9797
public void shutdownCompleted(ShutdownSignalException cause) {
9898
// make sure channel.open continuation is released

0 commit comments

Comments
 (0)