aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvarun gudisena <varuneshwar.gudisena@att.com>2019-01-18 14:41:08 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-18 14:41:08 +0000
commit036eaca9ccd55f5c568dff6347da1bcf07e5c61b (patch)
treef6065624da30692857bf42750503543612071163
parent99a69b81bca73117846e55bd0129cf3172d4ee08 (diff)
parent5e47089b5f1e54ec1196bc7f88e36ca3855c7492 (diff)
Merge "Fixed major sonar issue in ApiPerms.java"
-rw-r--r--src/main/java/org/onap/dmaap/dbcapi/authentication/ApiPerms.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/org/onap/dmaap/dbcapi/authentication/ApiPerms.java b/src/main/java/org/onap/dmaap/dbcapi/authentication/ApiPerms.java
index f3b9ebc..bcadf40 100644
--- a/src/main/java/org/onap/dmaap/dbcapi/authentication/ApiPerms.java
+++ b/src/main/java/org/onap/dmaap/dbcapi/authentication/ApiPerms.java
@@ -3,6 +3,8 @@
* org.onap.dmaap
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ *
+ * Modifications Copyright (C) 2018 IBM.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -172,8 +174,8 @@ public class ApiPerms extends BaseLoggingClass {
}
public void setEnvMap() {
- Dmaap dmaap = new DmaapService().getDmaap();
- String dmaapName = dmaap.getDmaapName();
+ Dmaap dmaapVar = new DmaapService().getDmaap();
+ String dmaapName = dmaapVar.getDmaapName();
PermissionMap.initMap( envMap, dmaapName );
}