Disconnect NormalizedNode from Identifiable
[yangtools.git] / data / yang-data-tree-ri / src / main / java / org / opendaylight / yangtools / yang / data / tree / impl / node / LazyContainerNode.java
index 99d25f289a278ee822fe0394bc1890a5b04d669d..07c8404c9c046dc5bab285ca02b9e422c9124dc7 100644 (file)
@@ -47,6 +47,6 @@ final class LazyContainerNode extends AbstractModifiedContainerNode {
     ToStringHelper addToStringAttributes(final ToStringHelper helper) {
         // Modified children add added by superclass. Here we filter the other children.
         return super.addToStringAttributes(helper).add("untouched", Collections2.filter(castData().body(),
-            input -> getModifiedChild(input.getIdentifier()) == null));
+            input -> getModifiedChild(input.name()) == null));
     }
 }