Whitespace and style fixes (only)
This commit is contained in:
parent
7f82763843
commit
b2479bf00d
|
@ -967,7 +967,6 @@ public abstract class Loader {
|
|||
}
|
||||
}
|
||||
|
||||
if ( LOG.isTraceEnabled() )
|
||||
LOG.tracev( "Done processing result set ({0} rows)", count );
|
||||
|
||||
initializeEntitiesAndCollections(
|
||||
|
@ -1110,7 +1109,6 @@ public abstract class Loader {
|
|||
|
||||
if ( hydratedObjects!=null ) {
|
||||
int hydratedObjectsSize = hydratedObjects.size();
|
||||
if ( LOG.isTraceEnabled() )
|
||||
LOG.tracev( "Total objects hydrated: {0}", hydratedObjectsSize );
|
||||
for ( int i = 0; i < hydratedObjectsSize; i++ ) {
|
||||
TwoPhaseLoad.initializeEntity( hydratedObjects.get(i), readOnly, session, pre );
|
||||
|
@ -2092,7 +2090,6 @@ public abstract class Loader {
|
|||
// potential deadlock issues due to nature of code.
|
||||
if ( session.getFactory().getSettings().isWrapResultSetsEnabled() ) {
|
||||
try {
|
||||
if ( LOG.isDebugEnabled() )
|
||||
LOG.debugf( "Wrapping result set [%s]", rs );
|
||||
return session.getFactory()
|
||||
.getJdbcServices()
|
||||
|
|
|
@ -82,7 +82,6 @@ import org.hibernate.engine.spi.PersistenceContext.NaturalIdHelper;
|
|||
import org.hibernate.engine.spi.SessionFactoryImplementor;
|
||||
import org.hibernate.engine.spi.SessionImplementor;
|
||||
import org.hibernate.engine.spi.ValueInclusion;
|
||||
import org.hibernate.event.spi.EventSource;
|
||||
import org.hibernate.id.IdentifierGenerator;
|
||||
import org.hibernate.id.PostInsertIdentifierGenerator;
|
||||
import org.hibernate.id.PostInsertIdentityPersister;
|
||||
|
@ -153,8 +152,7 @@ public abstract class AbstractEntityPersister
|
|||
implements OuterJoinLoadable, Queryable, ClassMetadata, UniqueKeyLoadable,
|
||||
SQLLoadable, LazyPropertyInitializer, PostInsertIdentityPersister, Lockable {
|
||||
|
||||
private static final CoreMessageLogger LOG = Logger.getMessageLogger(CoreMessageLogger.class,
|
||||
AbstractEntityPersister.class.getName());
|
||||
private static final CoreMessageLogger LOG = Logger.getMessageLogger( CoreMessageLogger.class, AbstractEntityPersister.class.getName() );
|
||||
|
||||
public static final String ENTITY_CLASS = "class";
|
||||
|
||||
|
@ -2161,11 +2159,10 @@ public abstract class AbstractEntityPersister
|
|||
int[] fields = new int[properties.size()];
|
||||
int counter = 0;
|
||||
while(iter.hasNext()) {
|
||||
Integer index = entityMetamodel.getPropertyIndexOrNull(iter.next());
|
||||
if(index != null)
|
||||
Integer index = entityMetamodel.getPropertyIndexOrNull( iter.next() );
|
||||
if ( index != null )
|
||||
fields[counter++] = index;
|
||||
}
|
||||
|
||||
return fields;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue