Remove NormalizedNode.getNodeType()
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / stream / NormalizedNodeWriter.java
index 49e1129fe562134b3498f5673f8d2326069048d7..13b14435a3a0cf180865c8881ac5cbb42b28291b 100644 (file)
@@ -279,7 +279,7 @@ public class NormalizedNodeWriter implements Closeable, Flushable {
                 if (input instanceof AugmentationNode) {
                     return true;
                 }
-                if (!qnames.contains(input.getNodeType())) {
+                if (!qnames.contains(input.getIdentifier().getNodeType())) {
                     return true;
                 }