summaryrefslogtreecommitdiffstats
path: root/appc-outbound/appc-aai-client
diff options
context:
space:
mode:
authorDriptaroop Das <driptaroop.das@in.ibm.com>2019-01-22 15:17:52 +0530
committerPatrick Brady <patrick.brady@att.com>2019-01-30 21:46:44 +0000
commit9c9ba25dd74787ca0a6cd0e5811d7b56708acaa4 (patch)
treee79558df1d22d4a5a20bb932c84a9accc0189b55 /appc-outbound/appc-aai-client
parent09da4f91bcfe2e9fb3eab992f2ead8c424a1cfad (diff)
Multiple Sonar Fixes
Multiple Sonar Fixes Issue-ID: APPC-1353 Change-Id: I5bdf2119e886a58606bf6192b97c9ae43e4e0069 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
Diffstat (limited to 'appc-outbound/appc-aai-client')
-rw-r--r--appc-outbound/appc-aai-client/provider/src/main/java/org/onap/appc/aai/client/node/AAIResourceNode.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/appc-outbound/appc-aai-client/provider/src/main/java/org/onap/appc/aai/client/node/AAIResourceNode.java b/appc-outbound/appc-aai-client/provider/src/main/java/org/onap/appc/aai/client/node/AAIResourceNode.java
index 27bf84a74..5a95e6e66 100644
--- a/appc-outbound/appc-aai-client/provider/src/main/java/org/onap/appc/aai/client/node/AAIResourceNode.java
+++ b/appc-outbound/appc-aai-client/provider/src/main/java/org/onap/appc/aai/client/node/AAIResourceNode.java
@@ -86,7 +86,7 @@ public class AAIResourceNode implements SvcLogicJavaPlugin {
log.debug("Cloud Owner" + cloudOwnerValue);
log.debug("CloudRegionId" + cloudOwnerValue);
- Map<String, String> paramsCloud = new HashMap<String, String>();
+ Map<String, String> paramsCloud = new HashMap<>();
paramsCloud.put(AppcAaiClientConstant.INPUT_PARAM_RESPONSE_PREFIX,
inParams.get(AppcAaiClientConstant.INPUT_PARAM_RESPONSE_PREFIX));
@@ -178,7 +178,7 @@ public class AAIResourceNode implements SvcLogicJavaPlugin {
String vfModuleForVserver = vmServerCtx.getAttribute(responsePrefix + "vm.vf-module-id");
if (vnfcName != null) {
- Map<String, String> paramsVnfc = new HashMap<String, String>();
+ Map<String, String> paramsVnfc = new HashMap<>();
paramsVnfc.put(PARAM_VNFC_NAME, vnfcName);
paramsVnfc.put(AppcAaiClientConstant.INPUT_PARAM_RESPONSE_PREFIX,