ControllerContext.dataNodeChildByQName method refactoring 06/9306/3
authorJozef Gloncak <jgloncak@cisco.com>
Fri, 25 Jul 2014 05:48:29 +0000 (07:48 +0200)
committerJozef Gloncak <jgloncak@cisco.com>
Fri, 1 Aug 2014 07:08:20 +0000 (07:08 +0000)
commitf21247cc587c0a5155cee4e89e2d22cd2e53105d
tree952112c768c2ed8426cca342efdcb51813edb304
parentc222e37f2a0f0f3f6266242fbea2d3b018f4e6e3
ControllerContext.dataNodeChildByQName method refactoring

ControllerContext.dataNodeChildByQName() is used only in childByQName()
methods with DataNodeContainer input parameters:
- ContainerSchemaNode
- ListSchemaNode
- Module
Therefore child node of these DataNodeContainers can't be ChoiceCaseNode
(because it can be only child node of ChoiceNode)
and original branch >if (node instanceof ChoiceCaseNode)< couldn't be
executed.
I think that it was typo.

Change-Id: Ieb85ad8acaf047b47813542d8968c399a4e30b50
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/ControllerContext.java