summaryrefslogtreecommitdiffstats
path: root/sliapi/provider
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-12-21 17:42:53 +0530
committerSandeep J <sandeejh@in.ibm.com>2018-12-21 17:43:14 +0530
commit66298e15540602d69a30f0c389764f43dd91586a (patch)
tree5305726fbd37b63b69420ddc80a805e4e8d80296 /sliapi/provider
parent0935246ecb1cad72a86eeedbc43f1ebdbbe5a9c8 (diff)
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>
Diffstat (limited to 'sliapi/provider')
-rw-r--r--sliapi/provider/src/main/java/org/onap/ccsdk/sli/core/sliapi/sliapiProvider.java2
1 files changed, 1 insertions, 1 deletions
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 667bae9b..4817a95a 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 @@ public class sliapiProvider implements AutoCloseable, SLIAPIService{
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))