Skip to content

Commit

Permalink
Some polishing to kick release on
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Aug 20, 2018
1 parent 8df8260 commit e1b0ab3
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1246,13 +1246,11 @@ private Delivery consumeDelivery(Channel channel, String queueName, long timeout
}

private void logReceived(Message message) {
if (logger.isDebugEnabled()) {
if (message == null) {
logger.debug("Received no message");
}
else {
logger.debug("Received: " + message);
}
if (message == null) {
logger.debug("Received no message");
}
else if (logger.isDebugEnabled()) {
logger.debug("Received: " + message);
}
}

Expand Down

0 comments on commit e1b0ab3

Please sign in to comment.