We have leafNode<Integer>, fix that up.
Change-Id: Icffa181cca4490ee9dad3cd90ac7da67a24dd956
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
.nodeWithKey(Node.QNAME, QName.create(Node.QNAME, "node-id"), "test")
.node(netconfTestLeafQname).build();
.nodeWithKey(Node.QNAME, QName.create(Node.QNAME, "node-id"), "test")
.node(netconfTestLeafQname).build();
- LeafNode augmentNode = ImmutableNodes.leafNode(netconfTestLeafQname, dataTestId);
+ LeafNode<Integer> augmentNode = ImmutableNodes.leafNode(netconfTestLeafQname, dataTestId);
DOMDataTreeWriteTransaction wtx = domDataBroker.newWriteOnlyTransaction();
wtx.put(LogicalDatastoreType.OPERATIONAL, pathToAugmentedLeaf, augmentNode);
DOMDataTreeWriteTransaction wtx = domDataBroker.newWriteOnlyTransaction();
wtx.put(LogicalDatastoreType.OPERATIONAL, pathToAugmentedLeaf, augmentNode);