summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2018-12-28 02:44:39 +0000
committerGerrit Code Review <gerrit@onap.org>2018-12-28 02:44:39 +0000
commita9e07eb18d4e81199fc63a090b5c260a7442d900 (patch)
tree162e5333f0bd673b440c6583afed7f15c16f21d9
parentbdc48a7ab30a1d0de177760b172c7fe457b403e6 (diff)
parent66298e15540602d69a30f0c389764f43dd91586a (diff)
Merge "fixed sonar issues in sliapiProvider.java"
-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 667bae9bf..4817a95a0 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))