YANGTOOLS-621: introduce specialized integer types
[yangtools.git] / yang / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / codec / Int32StringCodec.java
index 0177b20f9aaf422ead0941f4ea4dcce92a0346f3..32fde20ca4eb966e5b8f08228d013c867f36e020 100644 (file)
@@ -11,11 +11,11 @@ package org.opendaylight.yangtools.yang.data.impl.codec;
 import java.util.Objects;
 import java.util.Optional;
 import org.opendaylight.yangtools.yang.data.api.codec.Int32Codec;
-import org.opendaylight.yangtools.yang.model.api.type.IntegerTypeDefinition;
+import org.opendaylight.yangtools.yang.model.api.type.Int32TypeDefinition;
 
-final class Int32StringCodec extends AbstractIntegerStringCodec<Integer, IntegerTypeDefinition>
+final class Int32StringCodec extends AbstractIntegerStringCodec<Integer, Int32TypeDefinition>
         implements Int32Codec<String> {
-    Int32StringCodec(final Optional<IntegerTypeDefinition> typeDef) {
+    Int32StringCodec(final Optional<Int32TypeDefinition> typeDef) {
         super(typeDef, extractRange(typeDef.orElse(null)), Integer.class);
     }