aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraishkashyap <as00476394@techmahindra.com>2018-01-10 13:40:34 +0530
committeraishkashyap <as00476394@techmahindra.com>2018-01-10 13:40:55 +0530
commite9425e27c93669336671cf01d620ad581bfeb530 (patch)
tree00c72ad8da2c9f509a72149329cd929978beb142
parent78c96d11932a849a1702ab134391918a723f01ef (diff)
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 <as00476394@techmahindra.com>
-rw-r--r--aai-traversal/src/main/java/org/onap/aai/util/MakeNamedQuery.java2
1 files changed, 1 insertions, 1 deletions
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<String> processedWidgets = new ArrayList<String>();
+ ArrayList<String> processedWidgets = new ArrayList<>();
HashMap<String, List<Introspector>> widgetToRelationship = new HashMap<String, List<Introspector>>();