summaryrefslogtreecommitdiffstats
path: root/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-jms
diff options
context:
space:
mode:
authorwaynedunican <wayne.dunican@est.tech>2020-08-13 12:23:39 +0100
committerwaynedunican <wayne.dunican@est.tech>2020-08-13 13:22:23 +0100
commit6c3192ce8ef5283b97da0853e39a0d571f6bdd7b (patch)
tree431c33de35a95f30ec8a5d2aee50152eb8684f64 /plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-jms
parent1798f96670cc2d182628332ffec5e012816c82ea (diff)
SONAR fixes - log formatting
Fixed the sonar issues relating to Printf format being used for logging instead of String concatenation Issue-ID: POLICY-2773 Change-Id: I38db8d1df077fd7102f6c4f9b33685f2914bd624 Signed-off-by: waynedunican <wayne.dunican@est.tech>
Diffstat (limited to 'plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-jms')
-rw-r--r--plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-jms/src/main/java/org/onap/policy/apex/plugins/event/carrier/jms/ApexJmsConsumer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-jms/src/main/java/org/onap/policy/apex/plugins/event/carrier/jms/ApexJmsConsumer.java b/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-jms/src/main/java/org/onap/policy/apex/plugins/event/carrier/jms/ApexJmsConsumer.java
index d7460ec84..9fbc36116 100644
--- a/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-jms/src/main/java/org/onap/policy/apex/plugins/event/carrier/jms/ApexJmsConsumer.java
+++ b/plugins/plugins-event/plugins-event-carrier/plugins-event-carrier-jms/src/main/java/org/onap/policy/apex/plugins/event/carrier/jms/ApexJmsConsumer.java
@@ -139,8 +139,8 @@ public class ApexJmsConsumer extends ApexPluginsEventConsumer implements Message
}
// Everything is now set up
if (LOGGER.isDebugEnabled()) {
- LOGGER.debug("event receiver " + this.getClass().getName() + ":" + this.name + " subscribed to JMS topic: "
- + jmsConsumerProperties.getConsumerTopic());
+ LOGGER.debug("event receiver {}:{} subscribed to JMS topic: {}", this.getClass().getName(),
+ this.name, jmsConsumerProperties.getConsumerTopic());
}
}