Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Remove NormalizedNode.getNodeType()
[yangtools.git]
/
yang
/
yang-data-api
/
src
/
main
/
java
/
org
/
opendaylight
/
yangtools
/
yang
/
data
/
api
/
schema
/
stream
/
NormalizedNodeWriter.java
diff --git
a/yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/stream/NormalizedNodeWriter.java
b/yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/stream/NormalizedNodeWriter.java
index 49e1129fe562134b3498f5673f8d2326069048d7..13b14435a3a0cf180865c8881ac5cbb42b28291b 100644
(file)
--- a/
yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/stream/NormalizedNodeWriter.java
+++ b/
yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/stream/NormalizedNodeWriter.java
@@
-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.get
Identifier().get
NodeType())) {
return true;
}