Change-Id: If197c9b2318a52b3608f6065bea44af860a09849
Signed-off-by: Tomas Cere <tcere@cisco.com>
LOG.debug("Filling the item list with initial values.");
final CollectionNodeBuilder<MapEntryNode, MapNode> mapBuilder = ImmutableNodes.mapNodeBuilder(ITEM);
- for (int i = 0; i < MAX_ITEM / 2; i++) {
- usedValues.add(i);
- mapBuilder.withChild(ImmutableNodes.mapEntry(ITEM, NUMBER, i));
- }
-
idListWithKey = ID_INT_YID.node(new NodeIdentifierWithPredicates(ID_INT, ID, id));
itemProducer = domDataTreeService.createProducer(
LOG.debug("Filling the item list with initial values.");
final CollectionNodeBuilder<MapEntryNode, MapNode> mapBuilder = ImmutableNodes.mapNodeBuilder(ITEM);
- for (int i = 0; i < MAX_ITEM / 2; i++) {
- usedValues.add(i);
- mapBuilder.withChild(ImmutableNodes.mapEntry(ITEM, NUMBER, i));
- }
final YangInstanceIdentifier itemListId = idListWithKey.node(ITEM);
final DOMDataWriteTransaction tx = txProvider.createTransaction();