Separate out DataContainerPrototype
[mdsal.git] / binding / mdsal-binding-dom-codec / src / main / java / org / opendaylight / mdsal / binding / dom / codec / impl / CaseCodecContext.java
index fb3a59b1246f9b4370682e541d1b74f1b64cb854..11d59e47a0947a6c535df690f574c92d9aac6f6d 100644 (file)
@@ -19,7 +19,7 @@ import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
 
 final class CaseCodecContext<D extends DataObject> extends DataObjectCodecContext<D, CaseRuntimeType> {
     CaseCodecContext(final CaseCodecPrototype prototype) {
-        super(prototype, CodecItemFactory.of(prototype.getBindingClass()));
+        super(prototype, CodecItemFactory.of(prototype.javaClass()));
     }
 
     @Override