X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=codec%2Fyang-data-codec-binfmt%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fdata%2Fcodec%2Fbinfmt%2FAbstractLithiumDataInput.java;h=b056ca07a6a6a6f78642ab5bd6425b1ba4089cc6;hb=b221bb46d5ec5d355985a089a7eb2e02975f1bfd;hp=c052dbf2d1242e831c3106a57806952513dd7130;hpb=8a6b2fd2cdcacdb8a9f84d73c7797f7224f5807e;p=yangtools.git diff --git a/codec/yang-data-codec-binfmt/src/main/java/org/opendaylight/yangtools/yang/data/codec/binfmt/AbstractLithiumDataInput.java b/codec/yang-data-codec-binfmt/src/main/java/org/opendaylight/yangtools/yang/data/codec/binfmt/AbstractLithiumDataInput.java index c052dbf2d1..b056ca07a6 100644 --- a/codec/yang-data-codec-binfmt/src/main/java/org/opendaylight/yangtools/yang/data/codec/binfmt/AbstractLithiumDataInput.java +++ b/codec/yang-data-codec-binfmt/src/main/java/org/opendaylight/yangtools/yang/data/codec/binfmt/AbstractLithiumDataInput.java @@ -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;