Add Empty.value()
[yangtools.git] / codec / yang-data-codec-binfmt / src / main / java / org / opendaylight / yangtools / yang / data / codec / binfmt / AbstractLithiumDataInput.java
index c052dbf2d1242e831c3106a57806952513dd7130..b056ca07a6a6a6f78642ab5bd6425b1ba4089cc6 100644 (file)
@@ -389,7 +389,7 @@ abstract class AbstractLithiumDataInput extends AbstractNormalizedNodeDataInput
             // very low. We'd have to know the yang type but, even if we did, we can't let a null value pass upstream
             // so we'd have to drop the leaf which might cause other issues.
             case LithiumValue.NULL_TYPE:
-                return Empty.getInstance();
+                return Empty.value();
 
             default:
                 return null;