aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-adapter-utils
diff options
context:
space:
mode:
authorSS00493505 <ss00493505@techmahindra.com>2018-07-25 15:12:59 +0530
committerSS00493505 <ss00493505@techmahindra.com>2018-07-25 15:12:59 +0530
commit6a733eba2cdaa6a34d36f9996f5a11c7d9caf474 (patch)
tree8bfbf8e9086895e53ff23d3dbb093baa087219d4 /adapters/mso-adapter-utils
parent42a46def20ac8e3cb8c7a298963414d70155e964 (diff)
Replace with the diamond operator
AriaVduPlugin.java Sonar Link: https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.so%3Aso&open=AWK-9MGVwGn37JfbmLXt&resolved=false&severities=MAJOR Location:src/main/java/org/openecomp/mso/aria/AriaVduPlugin.java Line No: L126 Change-Id: I186e7dfef1ddf406036f902d1f04b4677652b91f Issue-ID: SO-739 Signed-off-by: SS00493505 <ss00493505@techmahindra.com>
Diffstat (limited to 'adapters/mso-adapter-utils')
-rw-r--r--adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/aria/AriaVduPlugin.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/aria/AriaVduPlugin.java b/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/aria/AriaVduPlugin.java
index 2d32f85d2d..1c2057df4d 100644
--- a/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/aria/AriaVduPlugin.java
+++ b/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/aria/AriaVduPlugin.java
@@ -123,7 +123,7 @@ public class AriaVduPlugin implements VduPlugin {
templateId = stemplate.getId();
}
}
- List<Input> sinputs = new ArrayList<Input>();
+ List<Input> sinputs = new ArrayList<>();
for (Map.Entry<String, ? extends Object> entry : inputs.entrySet()) {
Input inp = new InputImpl(entry.getKey(), entry.getValue().toString(), "");
sinputs.add(inp);