From 2b3a311ca96e157a05c85128e28ae7251ab9bdd9 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Fri, 2 Feb 2018 11:38:06 +0100 Subject: Use XMLStreamNormalizedNodeStreamWriter from yang-data-codec-xml instead of old and deprecated version from yang-data-impl. Change-Id: If3f9dbffe83cdde29d2f4996dbd299a60bab90a9 Signed-off-by: Marek Gradzki --- infra/notification/impl/pom.xml | 4 ++++ .../main/java/io/fd/honeycomb/notification/impl/TranslationUtil.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'infra') diff --git a/infra/notification/impl/pom.xml b/infra/notification/impl/pom.xml index cff31c4f9..7a26a80d3 100644 --- a/infra/notification/impl/pom.xml +++ b/infra/notification/impl/pom.xml @@ -43,6 +43,10 @@ org.opendaylight.netconf netconf-notifications-api + + org.opendaylight.yangtools + yang-data-codec-xml + junit diff --git a/infra/notification/impl/src/main/java/io/fd/honeycomb/notification/impl/TranslationUtil.java b/infra/notification/impl/src/main/java/io/fd/honeycomb/notification/impl/TranslationUtil.java index e53d59196..d03e320fe 100644 --- a/infra/notification/impl/src/main/java/io/fd/honeycomb/notification/impl/TranslationUtil.java +++ b/infra/notification/impl/src/main/java/io/fd/honeycomb/notification/impl/TranslationUtil.java @@ -28,7 +28,7 @@ import org.opendaylight.yangtools.yang.common.QName; import org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild; import org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeStreamWriter; import org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeWriter; -import org.opendaylight.yangtools.yang.data.impl.codec.xml.XMLStreamNormalizedNodeStreamWriter; +import org.opendaylight.yangtools.yang.data.codec.xml.XMLStreamNormalizedNodeStreamWriter; import org.opendaylight.yangtools.yang.model.api.SchemaContext; import org.opendaylight.yangtools.yang.model.api.SchemaPath; import org.slf4j.Logger; -- cgit 1.2.3-korg