IdentityrefTypeDefinition can contain multiple base identities, hence
the comparison needs to take into account all of them.
Change-Id: Ibe90cf1dc7fed8a2c1f3f7f16606f85d6761bb50
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
}
final IdentityrefTypeDefinition other = castIfEquals(IdentityrefTypeDefinition.class, type, obj);
- return other != null && type.getIdentity().equals(other.getIdentity());
+ return other != null && type.getIdentities().equals(other.getIdentities());
}
static boolean equals(final InstanceIdentifierTypeDefinition type, final Object obj) {