HHH-14443 Formatting and style fixes

This commit is contained in:
Sanne Grinovero 2021-03-01 16:13:02 +00:00
parent de3f3c1d74
commit 6868c68278
1 changed files with 3 additions and 3 deletions

View File

@ -522,13 +522,13 @@ public class AnyType extends AbstractType implements CompositeType, AssociationT
}
public int hashCode() {
return Objects.hash(entityName, id);
return Objects.hash( entityName, id );
}
public boolean equals(Object object) {
if (object instanceof ObjectTypeCacheEntry) {
if (object instanceof ObjectTypeCacheEntry) {
ObjectTypeCacheEntry objectTypeCacheEntry = (ObjectTypeCacheEntry)object;
return Objects.equals(objectTypeCacheEntry.entityName, entityName) && Objects.equals(objectTypeCacheEntry.id, id);
return Objects.equals( objectTypeCacheEntry.entityName, entityName ) && Objects.equals( objectTypeCacheEntry.id, id );
}
return false;
}