Skip to content

Commit 819630c

Browse files
committed
Fix Sonar Issue
1 parent fac71c4 commit 819630c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-rabbit/src/main/java/org/springframework/amqp/rabbit/connection/ThreadChannelConnectionFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public void addConnectionListener(ConnectionListener listener) {
119119
public synchronized Connection createConnection() throws AmqpException {
120120
if (this.connection == null || !this.connection.isOpen()) {
121121
Connection bareConnection = createBareConnection(); // NOSONAR - see destroy()
122-
this.connection = new ConnectionWrapper(bareConnection.getDelegate(), getCloseTimeout());
122+
this.connection = new ConnectionWrapper(bareConnection.getDelegate(), getCloseTimeout()); // NOSONAR
123123
getConnectionListener().onCreate(this.connection);
124124
}
125125
return this.connection;

0 commit comments

Comments
 (0)