Add Empty.value()
[yangtools.git] / data / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / schema / InstanceIdToSimpleNodes.java
index d1b2b5d85f149c8379204567f82afa3836eb2063..420e2203a3c6c1565548105bd3dcc25fd73dd4d0 100644 (file)
@@ -71,7 +71,7 @@ abstract class InstanceIdToSimpleNodes<T extends PathArgument> extends InstanceI
     static final class LeafListEntryNormalization extends InstanceIdToSimpleNodes<NodeWithValue> {
         LeafListEntryNormalization(final LeafListSchemaNode potential) {
             // We are fudging a value here
-            super(new NodeWithValue<>(potential.getQName(), Empty.getInstance()));
+            super(new NodeWithValue<>(potential.getQName(), Empty.value()));
         }
 
         @Override