summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-02-02 11:38:06 +0100
committerMarek Gradzki <mgradzki@cisco.com>2018-02-02 11:38:12 +0100
commit2b3a311ca96e157a05c85128e28ae7251ab9bdd9 (patch)
tree28a67a7339af49f759f655f395b584954ff2a756
parent5de9531adfb87c812a9dfb9b90f5fb53c80d5682 (diff)
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 <mgradzki@cisco.com>
-rw-r--r--infra/notification/impl/pom.xml4
-rw-r--r--infra/notification/impl/src/main/java/io/fd/honeycomb/notification/impl/TranslationUtil.java2
2 files changed, 5 insertions, 1 deletions
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 @@
<groupId>org.opendaylight.netconf</groupId>
<artifactId>netconf-notifications-api</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.opendaylight.yangtools</groupId>
+ <artifactId>yang-data-codec-xml</artifactId>
+ </dependency>
<dependency>
<groupId>junit</groupId>
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;