Fix new Sonar reports

This commit is contained in:
Gary Russell
2018-11-11 14:36:49 -05:00
committed by Artem Bilan
parent 20718c05f0
commit fb5854c480
2 changed files with 8 additions and 2 deletions

View File

@@ -152,7 +152,7 @@ public class MongoDbOutboundGateway extends AbstractReplyProducingMessageHandler
Object result;
if (this.collectionCallback != null) {
result = this.mongoTemplate.execute(collectionName, this.collectionCallback);
result = this.mongoTemplate.execute(collectionName, this.collectionCallback); // NOSONAR
}
else {
Query query = buildQuery(requestMessage);