From f11af3dda390b93a85ac284ce900fdb5e40b959f Mon Sep 17 00:00:00 2001 From: Martin Sunal Date: Mon, 20 Jan 2014 17:23:21 +0100 Subject: [PATCH 1/1] Corrected log message Signed-off-by: Martin Sunal --- .../yangtools/yang/data/impl/codec/xml/XmlDocumentUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.36.6