Reparent ChoiceCodecContext
[mdsal.git] / binding / mdsal-binding-dom-codec / src / main / java / org / opendaylight / mdsal / binding / dom / codec / impl / DataObjectCodecPrototype.java
index a414c2972cd27e2bd6a65db661404cd0462decf7..e53354f09d2618902efa030cd997742c3ea8c9b3 100644 (file)
@@ -16,7 +16,7 @@ import org.opendaylight.yangtools.yang.binding.InstanceIdentifier.Item;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier;
 
 abstract sealed class DataObjectCodecPrototype<T extends CompositeRuntimeType> extends CommonDataObjectCodecPrototype<T>
-        permits CaseCodecPrototype, ChoiceCodecPrototype, ContainerLikeCodecPrototype, ListCodecPrototype,
+        permits CaseCodecPrototype, ContainerLikeCodecPrototype, ListCodecPrototype,
                 NotificationCodecContext.Prototype {
     private final @NonNull NodeIdentifier yangArg;
 
@@ -34,7 +34,7 @@ abstract sealed class DataObjectCodecPrototype<T extends CompositeRuntimeType> e
     }
 
     @Override
-    final NodeIdentifier getYangArg() {
+    final NodeIdentifier yangArg() {
         return yangArg;
     }
 }