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 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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue