InstanceIdentifierContext does not take generics
[netconf.git] / restconf / restconf-nb-bierman02 / src / test / java / org / opendaylight / controller / sal / restconf / impl / nn / to / xml / test / NnToXmlWithChoiceTest.java
index 9d9ba65ca716bd8176a060001ff239920d79a788..b0282126f5b0cdcb08fd6435e85cd059a20317a6 100644 (file)
@@ -96,8 +96,7 @@ public class NnToXmlWithChoiceTest extends AbstractBodyReaderTest {
         dataContainerNodeAttrBuilder.withChild(dataChoice.build());
 
         final NormalizedNodeContext testNormalizedNodeContext = new NormalizedNodeContext(
-                new InstanceIdentifierContext<>(null,
-                        contSchemaNode, null, schemaContext),
+                new InstanceIdentifierContext(null, contSchemaNode, null, schemaContext),
                 dataContainerNodeAttrBuilder.build());
 
         return testNormalizedNodeContext;