summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSurendra Reddy Katam <SK00524980@techmahindra.com>2018-10-03 16:22:10 +0530
committerSurendra Reddy Katam <SK00524980@techmahindra.com>2018-10-03 16:22:10 +0530
commit7183a01048c01c4810f2096408406cd0dbf85753 (patch)
tree0e6622ef248f8baeb5086668b6c9b01f55cf02fa
parent2c035e71038b8e89a194fb87b6b6eb6ba29c63c9 (diff)
Sonar Major issues
This block of commented-out lines of code should be removed Sonar Link https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-VamJ32hFUzlqc50B&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/utils/ConfigurationReader.java Line No-L188 Change-Id: I49b5a298bd36498d9d2bc6cf7ca31f03a4a7d8bf Issue-ID: DMAAP-835 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
-rw-r--r--src/main/java/com/att/dmf/mr/utils/ConfigurationReader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/dmf/mr/utils/ConfigurationReader.java b/src/main/java/com/att/dmf/mr/utils/ConfigurationReader.java
index 1ab8779..17de391 100644
--- a/src/main/java/com/att/dmf/mr/utils/ConfigurationReader.java
+++ b/src/main/java/com/att/dmf/mr/utils/ConfigurationReader.java
@@ -185,7 +185,7 @@ public class ConfigurationReader {
}
// setup a backend
- //final String type = settings.getString(CambriaConstants.kBrokerType, CambriaConstants.kBrokerType_Kafka);
+
String type = com.att.ajsc.filemonitor.AJSCPropertiesMap.getProperty(CambriaConstants.msgRtr_prop,CambriaConstants.kBrokerType);
if (type==null) type = CambriaConstants.kBrokerType_Kafka;
if (CambriaConstants.kBrokerType_Kafka.equalsIgnoreCase(type)) {