aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSurendra Reddy Katam <SK00524980@techmahindra.com>2018-07-26 12:12:19 +0530
committerSurendra Reddy Katam <SK00524980@techmahindra.com>2018-07-26 12:12:19 +0530
commit3ee19fbcf054d6accdee09a5d368b89c2fd3a830 (patch)
tree60b8afdf1febab93288a7bb53e8048eae54e9a23
parent85dca2de1f30a86c4d8c290c6a2a01a92e9cace8 (diff)
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 <SK00524980@techmahindra.com>
-rw-r--r--adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/MsoVnfPluginAdapterImpl.java2
1 files changed, 1 insertions, 1 deletions
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<String,String>();
+ inputs = new HashMap<>();
LOGGER.debug("inputs == null - setting to empty");
} else {
this.sendMapToDebug(inputs);