whitespace changes

This commit is contained in:
Gavin King 2023-07-03 09:54:02 +02:00
parent b6eabdf17d
commit a2e95b2b70
1 changed files with 1 additions and 7 deletions

View File

@ -1268,7 +1268,6 @@ public class SqmCriteriaNodeBuilder implements NodeBuilder, SqmCreationContext,
@Override @Override
public <T> JpaCriteriaParameter<T> parameter(Class<T> paramClass, String name) { public <T> JpaCriteriaParameter<T> parameter(Class<T> paramClass, String name) {
final BasicType<T> basicType = getTypeConfiguration().getBasicTypeForJavaType( paramClass ); final BasicType<T> basicType = getTypeConfiguration().getBasicTypeForJavaType( paramClass );
if ( basicType == null ) { if ( basicType == null ) {
final BindableType<T> parameterType; final BindableType<T> parameterType;
@ -1279,12 +1278,7 @@ public class SqmCriteriaNodeBuilder implements NodeBuilder, SqmCreationContext,
else { else {
parameterType = null; parameterType = null;
} }
return new JpaCriteriaParameter<>( return new JpaCriteriaParameter<>( name, parameterType, true, this );
name,
parameterType,
true,
this
);
} }
else { else {
return new JpaCriteriaParameter<>( name, basicType, false, this ); return new JpaCriteriaParameter<>( name, basicType, false, this );