Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bug 6414: Fixed DataNodeIterator's traverseModule method
[yangtools.git]
/
yang
/
yang-model-util
/
src
/
main
/
java
/
org
/
opendaylight
/
yangtools
/
yang
/
model
/
util
/
DataNodeIterator.java
diff --git
a/yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/DataNodeIterator.java
b/yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/DataNodeIterator.java
index b3fcbed4f0f426530542e0914bd4fe5b5408204e..02b81df296394f04a7dbdd73cdba81340ca5db75 100644
(file)
--- a/
yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/DataNodeIterator.java
+++ b/
yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/DataNodeIterator.java
@@
-163,8
+163,8
@@
public class DataNodeIterator implements Iterator<DataSchemaNode> {
if (input != null) {
traverse(input);
}
if (input != null) {
traverse(input);
}
- ContainerSchemaNode output = rpcDefinition.get
In
put();
- if (
in
put != null) {
+ ContainerSchemaNode output = rpcDefinition.get
Out
put();
+ if (
out
put != null) {
traverse(output);
}
}
traverse(output);
}
}