diff options
author | 2019-01-18 14:41:08 +0000 | |
---|---|---|
committer | 2019-01-18 14:41:08 +0000 | |
commit | 036eaca9ccd55f5c568dff6347da1bcf07e5c61b (patch) | |
tree | f6065624da30692857bf42750503543612071163 /src/main | |
parent | 99a69b81bca73117846e55bd0129cf3172d4ee08 (diff) | |
parent | 5e47089b5f1e54ec1196bc7f88e36ca3855c7492 (diff) |
Merge "Fixed major sonar issue in ApiPerms.java"
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/onap/dmaap/dbcapi/authentication/ApiPerms.java | 6 |
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 ); } |