X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-parser-rfc7950%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fstmt%2FDeviationResolutionTest.java;h=b3092588221f05bbe84d3f9011d3101ec8cca06e;hb=bb60da5fe2d1928defb46ed92b290cfff93dcd81;hp=77170fe94b9463d4e6453940b14ea8b43de9608e;hpb=5d7c036b41a4b63ee510e834aca135c9ca183625;p=yangtools.git diff --git a/yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/DeviationResolutionTest.java b/yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/DeviationResolutionTest.java index 77170fe94b..b309258822 100644 --- a/yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/DeviationResolutionTest.java +++ b/yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/DeviationResolutionTest.java @@ -61,7 +61,7 @@ public class DeviationResolutionTest { assertEquals(1, myContA.getChildNodes().size()); assertNotNull(myContA.getDataChildByName(QName.create(importedModule.getQNameModule(), "my-leaf-a3"))); - final ContainerSchemaNode myContB = (ContainerSchemaNode) importedModule.getDataChildByName( + final ContainerSchemaNode myContB = (ContainerSchemaNode) importedModule.dataChildByName( QName.create(importedModule.getQNameModule(), "my-cont-b")); assertNull(myContB);