From e9425e27c93669336671cf01d620ad581bfeb530 Mon Sep 17 00:00:00 2001 From: aishkashyap Date: Wed, 10 Jan 2018 13:40:34 +0530 Subject: Sonar Major: Replace the type specification. Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.traversal%3Atraversal#resolved=false|assigned=false Location: src/main/java/org/onap/aai/util/MakeNamedQuery.java Line No:78 Issue-ID: AAI-620 Change-Id: Ied0e7d3d1172bc7cb2f380c3ea6eb7b827e7e1f7 Signed-off-by: aishkashyap --- aai-traversal/src/main/java/org/onap/aai/util/MakeNamedQuery.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aai-traversal/src/main/java/org/onap') diff --git a/aai-traversal/src/main/java/org/onap/aai/util/MakeNamedQuery.java b/aai-traversal/src/main/java/org/onap/aai/util/MakeNamedQuery.java index fde25a7..a88ab1b 100644 --- a/aai-traversal/src/main/java/org/onap/aai/util/MakeNamedQuery.java +++ b/aai-traversal/src/main/java/org/onap/aai/util/MakeNamedQuery.java @@ -75,7 +75,7 @@ public class MakeNamedQuery { // iterate the collection of resources - ArrayList processedWidgets = new ArrayList(); + ArrayList processedWidgets = new ArrayList<>(); HashMap> widgetToRelationship = new HashMap>(); -- cgit 1.2.3-korg