summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSurendra Reddy Katam <SK00524980@techmahindra.com>2018-09-24 15:08:22 +0530
committerSurendra Reddy Katam <SK00524980@techmahindra.com>2018-09-24 15:08:22 +0530
commit1513792efbf0b414854fb2f3850061ccec30f992 (patch)
tree256867da0650c29eaf771b9621b8b44b1d99d0f4 /src
parenta759f919b452d439cbad4ba73f053df30b2d61f9 (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-VamI32hFUzlqc5z-&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/utils/ConfigurationReader.java Line No- L167 L169 Change-Id: I10fc7c7de82d6015c852ebb7c11b43177b7da5f9 Issue-ID: DMAAP-820 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/att/dmf/mr/utils/ConfigurationReader.java4
1 files changed, 2 insertions, 2 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 fdf2d28..ab74e9c 100644
--- a/src/main/java/com/att/dmf/mr/utils/ConfigurationReader.java
+++ b/src/main/java/com/att/dmf/mr/utils/ConfigurationReader.java
@@ -164,9 +164,9 @@ public class ConfigurationReader {
fMetrics.toJson();
fMetrics.setupCambriaSender();
// add the admin authenticator
- // final String adminSecret = settings.getString ( CambriaConstants.kSetting_AdminSecret, null );
+
final String adminSecret = com.att.ajsc.filemonitor.AJSCPropertiesMap.getProperty(CambriaConstants.msgRtr_prop,CambriaConstants.kSetting_AdminSecret);
- //adminSecret = "fe3cCompound";
+
if ( adminSecret != null && adminSecret.length () > 0 )
{
try