Rename ChoiceNodeCodecContext
[mdsal.git] / binding / mdsal-binding-dom-codec / src / main / java / org / opendaylight / mdsal / binding / dom / codec / impl / CodecDataObjectAnalysis.java
index 81ebb79ae514e553899ef09ac7c98af12446136e..af08f5d4a4b109a86378fa3d193985c42d520699 100644 (file)
@@ -99,7 +99,7 @@ final class CodecDataObjectAnalysis<R extends CompositeRuntimeType> {
             // FIXME: It really feels like we should be specializing DataContainerCodecPrototype so as to ditch
             //        createInstance() and then we could do an instanceof check instead.
             if (childProto.getType() instanceof ChoiceRuntimeType) {
-                final var choice = (ChoiceNodeCodecContext<?>) childProto.get();
+                final var choice = (ChoiceCodecContext<?>) childProto.get();
                 for (var cazeChild : choice.getCaseChildrenClasses()) {
                     byBindingArgClassBuilder.put(cazeChild, childProto);
                 }