diff options
author | Ram Koya <rk541m@att.com> | 2018-09-07 17:08:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-09-07 17:08:47 +0000 |
commit | eda891c703ea4ee639802f60eace0b9109b32dd3 (patch) | |
tree | 40cca5a11a5a2263f876a4610f9bb0b5ee71656d | |
parent | 0939da6b0450a45837e63a3bad92dfb1d501b763 (diff) | |
parent | d0cd5b70fea188a7d189162b06961f57cc224477 (diff) |
Merge "KafkaLiveLockAvoider2.java: fixed sonar issues"
-rw-r--r-- | src/main/java/com/att/dmf/mr/backends/kafka/KafkaLiveLockAvoider2.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/com/att/dmf/mr/backends/kafka/KafkaLiveLockAvoider2.java b/src/main/java/com/att/dmf/mr/backends/kafka/KafkaLiveLockAvoider2.java index 0433912..f521b41 100644 --- a/src/main/java/com/att/dmf/mr/backends/kafka/KafkaLiveLockAvoider2.java +++ b/src/main/java/com/att/dmf/mr/backends/kafka/KafkaLiveLockAvoider2.java @@ -35,9 +35,7 @@ import com.att.eelf.configuration.EELFLogger; import com.att.eelf.configuration.EELFManager; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; -import org.springframework.context.annotation.ComponentScan; import org.springframework.stereotype.Component; -import org.springframework.stereotype.Service; //@ComponentScan(basePackages="com.att.dmf.mr.backends.kafka") @Component @@ -57,7 +55,7 @@ public class KafkaLiveLockAvoider2 { @PostConstruct public void init() { - System.out.println("Welcome......................................................................................"); + log.info("Welcome......................................................................................"); try { if (curatorFramework.checkExists().forPath(locksPath) == null) { curatorFramework.create().creatingParentsIfNeeded().forPath(locksPath); |