From bbee6cd4aa2b7b302be16e07188aeb5138354c60 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Thu, 10 Aug 2023 20:56:00 +0200 Subject: [PATCH] improve generic typing of Hibernate.isPropertyInitialized() --- hibernate-core/src/main/java/org/hibernate/Hibernate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/Hibernate.java b/hibernate-core/src/main/java/org/hibernate/Hibernate.java index 981d97f7be..94d2492bc1 100644 --- a/hibernate-core/src/main/java/org/hibernate/Hibernate.java +++ b/hibernate-core/src/main/java/org/hibernate/Hibernate.java @@ -305,7 +305,7 @@ public final class Hibernate { * @return true if the named property of the object is not listed as uninitialized; * false otherwise */ - public boolean isPropertyInitialized(E entity, Attribute attribute) { + public boolean isPropertyInitialized(E entity, Attribute attribute) { return isPropertyInitialized( entity, attribute.getName() ); }