Migrate to Empty.value()
[netconf.git] / restconf / restconf-common / src / main / java / org / opendaylight / restconf / common / util / OperationsResourceUtils.java
index 03e289d19e0534a7c274f0968250807dd6182c07..ceeb963966bd9f3c6e2f734d14775ce2dcbf81a7 100644 (file)
@@ -57,7 +57,7 @@ public final class OperationsResourceUtils {
         final DataContainerNodeBuilder<NodeIdentifier, ContainerNode> operationsBuilder = Builders.containerBuilder()
                 .withNodeIdentifier(new NodeIdentifier(OperationsContainerSchemaNode.QNAME));
         for (final OperationsLeafSchemaNode leaf : rpcLeafSchemas) {
-            operationsBuilder.withChild(ImmutableNodes.leafNode(leaf.getQName(), Empty.getInstance()));
+            operationsBuilder.withChild(ImmutableNodes.leafNode(leaf.getQName(), Empty.value()));
         }
 
         return Map.entry(new InstanceIdentifierContext<>(null, operatationsSchema, mountPoint,