mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-26 21:35:46 +00:00
very minor nitpicks
Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
parent
599cba50bf
commit
6772c3f6b6
@ -301,7 +301,7 @@ public Object replace(
|
||||
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 Object loadByUniqueKey(
|
||||
Object key,
|
||||
SharedSessionContractImplementor session) throws HibernateException {
|
||||
final SessionFactoryImplementor factory = session.getFactory();
|
||||
EntityPersister persister =
|
||||
final EntityPersister persister =
|
||||
factory.getMappingMetamodel()
|
||||
.getEntityDescriptor( entityName );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user