very minor nitpicks

Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
Gavin King 2024-06-15 10:20:59 +02:00 committed by Steve Ebersole
parent 599cba50bf
commit 6772c3f6b6
1 changed files with 2 additions and 2 deletions

View File

@ -301,7 +301,7 @@ public abstract class EntityType extends AbstractType implements AssociationType
if ( original == null ) {
return null;
}
Object cached = copyCache.get( original );
final Object cached = copyCache.get( original );
if ( cached != null ) {
return cached;
}
@ -737,7 +737,7 @@ public abstract class EntityType extends AbstractType implements AssociationType
Object key,
SharedSessionContractImplementor session) throws HibernateException {
final SessionFactoryImplementor factory = session.getFactory();
EntityPersister persister =
final EntityPersister persister =
factory.getMappingMetamodel()
.getEntityDescriptor( entityName );