Clean up TypeDefinitionAwareCodec
[yangtools.git] / data / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / codec / Uint8StringCodec.java
index 21f3cc44c643f26dbc7da7fec8b6a36e42dd313b..7a454282e82bba4568a2ef29df64d4bdc31d2ebd 100644 (file)
@@ -14,7 +14,7 @@ import org.opendaylight.yangtools.yang.model.api.type.Uint8TypeDefinition;
 final class Uint8StringCodec extends AbstractIntegerStringCodec<Uint8, Uint8TypeDefinition> implements
         Uint8Codec<String> {
     Uint8StringCodec(final Uint8TypeDefinition typeDef) {
-        super(typeDef, extractRange(typeDef), Uint8.class);
+        super(Uint8.class, typeDef);
     }
 
     @Override