From 9559ea969ce9086d865cb31a44d9b10bacf2bdfa Mon Sep 17 00:00:00 2001 From: Rupinder Date: Mon, 15 Jun 2020 13:38:42 +0530 Subject: replace the type specification in the constructor Issue-ID: APPC-1859 Change-Id: I27984aa94a3107f5cfa7ed5b7efd1ea1ee785e64 Signed-off-by: Rupinder --- .../main/java/org/onap/appc/ccadaptor/ConfigComponentAdaptor.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'appc-config/appc-config-adaptor/provider/src/main') diff --git a/appc-config/appc-config-adaptor/provider/src/main/java/org/onap/appc/ccadaptor/ConfigComponentAdaptor.java b/appc-config/appc-config-adaptor/provider/src/main/java/org/onap/appc/ccadaptor/ConfigComponentAdaptor.java index e0cbc7984..192868797 100644 --- a/appc-config/appc-config-adaptor/provider/src/main/java/org/onap/appc/ccadaptor/ConfigComponentAdaptor.java +++ b/appc-config/appc-config-adaptor/provider/src/main/java/org/onap/appc/ccadaptor/ConfigComponentAdaptor.java @@ -636,7 +636,7 @@ public class ConfigComponentAdaptor implements SvcLogicAdaptor { String nd = buildNetworkData2(ctx, ndTemplate, operation); String reqTemplate = readFile("/config-request.xml"); - Map param = new HashMap(); + Map param = new HashMap<>(); param.put("request-id", ctx.getAttribute("service-data.appc-request-header.svc-request-id")); param.put("request-type", requestType); param.put("callback-url", configCallbackUrl); @@ -666,7 +666,7 @@ public class ConfigComponentAdaptor implements SvcLogicAdaptor { private ConfigStatus activate(SvcLogicContext ctx, boolean change) { String reqTemplate = readFile("/config-request.xml"); - Map param = new HashMap(); + Map param = new HashMap<>(); param.put("request-id", ctx.getAttribute("service-data.appc-request-header.svc-request-id")); param.put("callback-url", configCallbackUrl); param.put("action", change ? "DownloadChange" : "DownloadBase"); @@ -690,7 +690,7 @@ public class ConfigComponentAdaptor implements SvcLogicAdaptor { private ConfigStatus audit(SvcLogicContext ctx, String auditLevel) { String reqTemplate = readFile("/audit-request.xml"); - Map param = new HashMap(); + Map param = new HashMap<>(); param.put("request-id", ctx.getAttribute("service-data.appc-request-header.svc-request-id")); param.put("callback-url", auditCallbackUrl); param.put("equipment-name", ctx.getAttribute("service-data.service-information.service-instance-id")); -- cgit 1.2.3-korg