Resolve whitespace formatting issues spotted by Checkstyle

This commit is contained in:
Sanne Grinovero 2017-12-11 21:17:11 +00:00 committed by Steve Ebersole
parent a7f1173e65
commit c4067f611c
5 changed files with 8 additions and 8 deletions

View File

@ -1215,7 +1215,7 @@ public class ActionQueue {
if ( iterations > maxIterations ) {
LOG.warn( "The batch containing " + latestBatches.size() + " statements could not be sorted after " + maxIterations + " iterations. " +
"This might indicate a circular entity relationship." );
"This might indicate a circular entity relationship." );
}
// Now, rebuild the insertions list. There is a batch for each entry in the name list.

View File

@ -223,7 +223,7 @@ public class CriteriaLoader extends OuterJoinLoader {
( (Session) session ).buildLockRequest( lockOptionsToUse )
.lock( persister.getEntityName(), entity );
}
}
}
);
parameters.setLockOptions( new LockOptions() );
return sql;

View File

@ -185,8 +185,8 @@ public class CriteriaQueryTranslator implements CriteriaQuery {
String testAlias = StringHelper.root( path );
if ( !testAlias.equals( subcriteria.getAlias() ) ) {
// and the qualifier is not the alias of this criteria
// -> check to see if we belong to some criteria other
// than the one that created us
// -> check to see if we belong to some criteria other
// than the one that created us
parent = aliasCriteriaMap.get( testAlias );
}
}
@ -552,8 +552,8 @@ public class CriteriaQueryTranslator implements CriteriaQuery {
//first look for a reference to a projection alias
final Projection projection = rootCriteria.getProjection();
Type[] projectionTypes = projection == null ?
null :
projection.getTypes( propertyName, subcriteria, this );
null :
projection.getTypes( propertyName, subcriteria, this );
if ( projectionTypes == null ) {
try {

View File

@ -292,7 +292,7 @@ public class ProcedureCallImpl<R>
);
registerParameter( procedureParameter );
return procedureParameter;
return procedureParameter;
}
@Override

View File

@ -573,7 +573,7 @@ public class QueryParameterBindingsImpl implements QueryParameterBindings {
// 3) create a new synthetic binding for just that single value under the synthetic name
final String syntheticName;
if ( sourceParam instanceof NamedParameterDescriptor ) {
syntheticName = NamedParameterDescriptor.class.cast( sourceParam ).getName() + '_' + i;
syntheticName = NamedParameterDescriptor.class.cast( sourceParam ).getName() + '_' + i;
}
else {
syntheticName = "x" + OrdinalParameterDescriptor.class.cast( sourceParam ).getPosition() + '_' + i;