From 3ee19fbcf054d6accdee09a5d368b89c2fd3a830 Mon Sep 17 00:00:00 2001 From: Surendra Reddy Katam Date: Thu, 26 Jul 2018 12:12:19 +0530 Subject: Sonar major issues Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.so%3Aso&open=AWJqzmdHRGy6eclHEzV_&resolved=false&rules=squid%3AS2293 Location: adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/MsoVnfPluginAdapterImpl.java Line No: 633 Change-Id: I788bf4dd5b7e5f586ef9dc5dc2ddda05508be9d3 Issue-ID: SO-758 Signed-off-by: Surendra Reddy Katam --- .../java/org/openecomp/mso/adapters/vnf/MsoVnfPluginAdapterImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/MsoVnfPluginAdapterImpl.java b/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/MsoVnfPluginAdapterImpl.java index 4e0d51432e..a6d0a00c42 100644 --- a/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/MsoVnfPluginAdapterImpl.java +++ b/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/MsoVnfPluginAdapterImpl.java @@ -630,7 +630,7 @@ public class MsoVnfPluginAdapterImpl implements MsoVnfAdapter { if (inputs == null) { // Create an empty set of inputs - inputs = new HashMap(); + inputs = new HashMap<>(); LOGGER.debug("inputs == null - setting to empty"); } else { this.sendMapToDebug(inputs); -- cgit 1.2.3-korg