Revert ChoiceSchemaNode.getCases() to return a Collection
[yangtools.git] / yang / yang-data-codec-gson / src / main / java / org / opendaylight / yangtools / yang / data / codec / gson / JsonParserStream.java
index ffbf84947acba7601c0aee0b233c282a09086002..3509836fe82772fe339709b5c51fe5f48f96fd51 100644 (file)
@@ -419,7 +419,7 @@ public final class JsonParserStream implements Closeable, Flushable {
             }
 
             for (final ChoiceSchemaNode choiceNode : choices) {
-                for (final CaseSchemaNode concreteCase : choiceNode.getCases().values()) {
+                for (final CaseSchemaNode concreteCase : choiceNode.getCases()) {
                     potentialUris.addAll(resolveAllPotentialNamespaces(elementName, concreteCase));
                 }
             }