Skip to content

Commit 0cfc456

Browse files
author
Emile Joubert
committed
Reduce diff
1 parent c62bc5e commit 0cfc456

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/com/rabbitmq/client/ConnectionFactory.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,10 +500,9 @@ public Connection newConnection(ExecutorService executor, Address[] addrs)
500500
{
501501
IOException lastException = null;
502502
for (Address addr : addrs) {
503-
AMQConnection conn = null;
504503
try {
505504
FrameHandler frameHandler = createFrameHandler(addr);
506-
conn =
505+
AMQConnection conn =
507506
new AMQConnection(username,
508507
password,
509508
frameHandler,

0 commit comments

Comments
 (0)