From: Martin Sunal Date: Mon, 20 Jan 2014 16:23:21 +0000 (+0100) Subject: Corrected log message X-Git-Tag: yangtools-0.6.0~67 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=f11af3dda390b93a85ac284ce900fdb5e40b959f;p=yangtools.git Corrected log message Signed-off-by: Martin Sunal --- diff --git a/yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/codec/xml/XmlDocumentUtils.java b/yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/codec/xml/XmlDocumentUtils.java index ca66967f9d..9e999be491 100644 --- a/yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/codec/xml/XmlDocumentUtils.java +++ b/yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/codec/xml/XmlDocumentUtils.java @@ -158,7 +158,7 @@ public class XmlDocumentUtils { Object value = node.getValue(); logger.debug("Value of {}:{} is not instance of QName but is {}", baseType.getQName().getNamespace(), // baseType.getQName().getLocalName(), // - node != null ? value.getClass() : "null"); + value != null ? value.getClass() : "null"); if (value != null) { element.setTextContent(String.valueOf(value)); }