diff options
author | Sumapriya Sarvepalli <SS00493505@TechMahindra.com> | 2018-01-29 15:37:18 +0530 |
---|---|---|
committer | Sumapriya Sarvepalli <SS00493505@TechMahindra.com> | 2018-01-29 15:43:27 +0530 |
commit | e134541b23b65f3ad2bed8c26055860d83e40ec0 (patch) | |
tree | 84764b295c093464e736e04bc1e4dc6460eb34b9 | |
parent | 1672a4db05c0e313ce258efe26a75f995c162bb5 (diff) |
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 <SS00493505@TechMahindra.com>
-rw-r--r-- | adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/model/NsParameters.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<LocationConstraint> locationConstraints; - private Map<String, Object> additionalParamForNs = new HashMap<String,Object>(); + private Map<String, Object> additionalParamForNs = new HashMap<>(); /** * @return Returns the locationConstraints. */ |