diff options
Diffstat (limited to 'infra/data-impl')
-rw-r--r-- | infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/ModificationDiff.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/ModificationDiff.java b/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/ModificationDiff.java index 98950b243..210408e39 100644 --- a/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/ModificationDiff.java +++ b/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/ModificationDiff.java @@ -146,12 +146,12 @@ final class ModificationDiff { final AbstractImmutableDataContainerNode<YangInstanceIdentifier.PathArgument> parentContainerNode = (AbstractImmutableDataContainerNode) parentData; - final Map<YangInstanceIdentifier, NormalizedNodeUpdate> updates = + final Map<YangInstanceIdentifier, NormalizedNodeUpdate> childUpdates = parentContainerNode.getChildren().entrySet().stream() .flatMap(entry -> registry.normalizedUpdates(modification.getId(), entry).stream()) .collect(Collectors.toMap(NormalizedNodeUpdate::getId, update -> update)); - return new ModificationDiff(updates); + return new ModificationDiff(childUpdates); } } return EMPTY_DIFF; |