fixed sonar issues in sliapiProvider.java
fixed sonar issues
Issue-ID: CCSDK-525
Change-Id: I4f2c19ea603782730866772687f338757e72612e
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
diff --git a/sliapi/provider/src/main/java/org/onap/ccsdk/sli/core/sliapi/sliapiProvider.java b/sliapi/provider/src/main/java/org/onap/ccsdk/sli/core/sliapi/sliapiProvider.java
index 667bae9..4817a95 100644
--- a/sliapi/provider/src/main/java/org/onap/ccsdk/sli/core/sliapi/sliapiProvider.java
+++ b/sliapi/provider/src/main/java/org/onap/ccsdk/sli/core/sliapi/sliapiProvider.java
@@ -566,7 +566,7 @@
YangInstanceIdentifier testResultId = YangInstanceIdentifier.builder().node(TEST_RESULTS_QNAME).node(TEST_RESULT_QNAME).build();
// Construct results list
- LinkedList<LeafSetEntryNode<Object>> entryList = new LinkedList<LeafSetEntryNode<Object>>();
+ LinkedList<LeafSetEntryNode<Object>> entryList = new LinkedList<>();
for (String result : testResult.getResults()) {
LeafSetEntryNode<Object> leafSetEntryNode = ImmutableLeafSetEntryNodeBuilder.create()
.withNodeIdentifier(new NodeWithValue(RESULTS_QNAME, result))