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)
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>

No differences found