Move TypeDefinitions into yang-model-api
[yangtools.git] / yang / yang-model-util / src / main / java / org / opendaylight / yangtools / yang / model / util / type / DerivedInstanceIdentifierType.java
index b646c22394e42645ed7a1c14833ed09c5c72516c..3922a7fe1af268cf6109d204d0e78b32f77b30aa 100644 (file)
@@ -32,11 +32,11 @@ final class DerivedInstanceIdentifierType extends AbstractDerivedType<InstanceId
 
     @Override
     public int hashCode() {
-        return TypeDefinitions.hashCode(this);
+        return InstanceIdentifierTypeDefinition.hashCode(this);
     }
 
     @Override
     public boolean equals(final Object obj) {
-        return TypeDefinitions.equals(this, obj);
+        return InstanceIdentifierTypeDefinition.equals(this, obj);
     }
 }