From 6868c68278b1b93d0ac56fc8d57d1b31bee295fe Mon Sep 17 00:00:00 2001 From: Sanne Grinovero Date: Mon, 1 Mar 2021 16:13:02 +0000 Subject: [PATCH] HHH-14443 Formatting and style fixes --- .../src/main/java/org/hibernate/type/AnyType.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/type/AnyType.java b/hibernate-core/src/main/java/org/hibernate/type/AnyType.java index 2c56bc2694..b321f2cff5 100644 --- a/hibernate-core/src/main/java/org/hibernate/type/AnyType.java +++ b/hibernate-core/src/main/java/org/hibernate/type/AnyType.java @@ -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; }