HHH-2879 Apply hibernate code templates and formatting

This commit is contained in:
edalquist 2012-01-11 10:13:04 -06:00 committed by Steve Ebersole
parent f74c5a7fa5
commit e01ea2ecf8
1 changed files with 5 additions and 5 deletions

View File

@ -844,19 +844,19 @@ public final class SessionImpl extends AbstractSessionImpl implements EventSourc
} }
public Object load(Class entityClass, Serializable id) throws HibernateException { public Object load(Class entityClass, Serializable id) throws HibernateException {
return this.byId(entityClass).getReference(id); return this.byId( entityClass ).getReference( id );
} }
public Object load(String entityName, Serializable id) throws HibernateException { public Object load(String entityName, Serializable id) throws HibernateException {
return this.byId(entityName).getReference(id); return this.byId( entityName ).getReference( id );
} }
public Object get(Class entityClass, Serializable id) throws HibernateException { public Object get(Class entityClass, Serializable id) throws HibernateException {
return this.byId(entityClass).load(id); return this.byId( entityClass ).load( id );
} }
public Object get(String entityName, Serializable id) throws HibernateException { public Object get(String entityName, Serializable id) throws HibernateException {
return this.byId(entityName).load(id); return this.byId( entityName ).load( id );
} }
/** /**