Move TypeDefinitions into yang-model-api
[yangtools.git] / yang / yang-model-util / src / main / java / org / opendaylight / yangtools / yang / model / util / type / DerivedInt16Type.java
index 18129cfb228aebd41341748ad77b9166295c9592..6f798de41d53461585236895a5945cf9b59bbc4a 100644 (file)
@@ -23,11 +23,11 @@ final class DerivedInt16Type extends AbstractRangeRestrictedDerivedType<Int16Typ
 
     @Override
     public int hashCode() {
-        return TypeDefinitions.hashCode(this);
+        return Int16TypeDefinition.hashCode(this);
     }
 
     @Override
     public boolean equals(final Object obj) {
-        return TypeDefinitions.equals(this, obj);
+        return Int16TypeDefinition.equals(this, obj);
     }
 }