whitespace changes
This commit is contained in:
parent
b6eabdf17d
commit
a2e95b2b70
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue