Skip to content

Commit

Permalink
BrokerRunning Sonar Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Dec 7, 2016
1 parent 2c0844a commit 3b1b21f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public Statement apply(Statement base, Description description) {

ConnectionFactory connectionFactory = getConnectionFactory();

Connection connection = null;
Connection connection = null; // NOSONAR (closeResources())
Channel channel = null;

try {
Expand Down Expand Up @@ -272,7 +272,7 @@ public void removeTestQueues(String... additionalQueues) {
}
logger.debug("deleting test queues: " + queuesToRemove);
ConnectionFactory connectionFactory = getConnectionFactory();
Connection connection = null;
Connection connection = null; // NOSONAR (closeResources())
Channel channel = null;

try {
Expand All @@ -294,7 +294,7 @@ public void removeTestQueues(String... additionalQueues) {

public void deleteQueues(String... queues) {
ConnectionFactory connectionFactory = getConnectionFactory();
Connection connection = null;
Connection connection = null; // NOSONAR (closeResources())
Channel channel = null;

try {
Expand All @@ -316,7 +316,7 @@ public void deleteQueues(String... queues) {

public void deleteExchanges(String... exchanges) {
ConnectionFactory connectionFactory = getConnectionFactory();
Connection connection = null;
Connection connection = null; // NOSONAR (closeResources())
Channel channel = null;

try {
Expand Down

0 comments on commit 3b1b21f

Please sign in to comment.