Migrate to Empty.value()
[netconf.git] / netconf / sal-netconf-connector / src / test / java / org / opendaylight / netconf / sal / connect / netconf / sal / tx / WriteCandidateRunningTxTest.java
index 1af16dec4b374f2636c942e77844ebf18b137e48..928636b206c370193c817af3a072ab240ba38abc 100644 (file)
@@ -82,7 +82,7 @@ public class WriteCandidateRunningTxTest extends AbstractTestModelTest {
 
     private static ContainerNode getLockContent(final QName op, final QName datastore) {
         final LeafNode<Object> datastoreLeaf = Builders.leafBuilder().withNodeIdentifier(toId(datastore))
-                .withValue(Empty.getInstance()).build();
+                .withValue(Empty.value()).build();
         final ChoiceNode choice = Builders.choiceBuilder()
                 .withNodeIdentifier(toId(ConfigTarget.QNAME))
                 .withChild(datastoreLeaf)