From e134541b23b65f3ad2bed8c26055860d83e40ec0 Mon Sep 17 00:00:00 2001 From: Sumapriya Sarvepalli Date: Mon, 29 Jan 2018 15:37:18 +0530 Subject: Sonar:Major The diamond operator (<>) should be used NsParameters.java:L38 Issue-ID: SO-392 Sonar Link: https://sonar.onap.org/issues/search#resolved=false|severities=MAJOR|rules=squid%3AS2293|assignees=__me__ Location:src/main/java/org/openecomp/mso/adapters/vfc/model/NsParameters.java Change-Id: I12ec3ceb4b7da8c5cccc0e01205addce6c2c0d1e Signed-off-by: Sumapriya Sarvepalli --- .../main/java/org/openecomp/mso/adapters/vfc/model/NsParameters.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/model/NsParameters.java b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/model/NsParameters.java index 2a5c305926..b4827d0f45 100644 --- a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/model/NsParameters.java +++ b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/model/NsParameters.java @@ -35,7 +35,7 @@ public class NsParameters { private List locationConstraints; - private Map additionalParamForNs = new HashMap(); + private Map additionalParamForNs = new HashMap<>(); /** * @return Returns the locationConstraints. */ -- cgit 1.2.3-korg