From c7113532f34e920d6cfe773cd84591fc863801ae Mon Sep 17 00:00:00 2001 From: "r.bogacki" Date: Wed, 10 Jul 2019 11:09:31 +0200 Subject: Major Sonar fixes Major Sonar fixes in different classes: -Removed unused variables. -Simplified diamond operators. -Removed unnecessary imports. -Removed unnecessary code. Issue-ID: SO-2102 Signed-off-by: Robert Bogacki Change-Id: Ib54fbe048700a4e31042481f0a9b13838552aee7 --- .../java/org/onap/so/bpmn/infrastructure/vfcmodel/NsParameters.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpmn/so-bpmn-infrastructure-common/src/main') diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/vfcmodel/NsParameters.java b/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/vfcmodel/NsParameters.java index ad388feffc..c7c12bf4e7 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/vfcmodel/NsParameters.java +++ b/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/vfcmodel/NsParameters.java @@ -37,7 +37,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