From a2e95b2b7094b3572a941b8ad35e5924848a1fb3 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Mon, 3 Jul 2023 09:54:02 +0200 Subject: [PATCH] whitespace changes --- .../query/sqm/internal/SqmCriteriaNodeBuilder.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmCriteriaNodeBuilder.java b/hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmCriteriaNodeBuilder.java index 192786f941..caedf16dc8 100644 --- a/hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmCriteriaNodeBuilder.java +++ b/hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmCriteriaNodeBuilder.java @@ -1268,7 +1268,6 @@ public class SqmCriteriaNodeBuilder implements NodeBuilder, SqmCreationContext, @Override public JpaCriteriaParameter parameter(Class paramClass, String name) { - final BasicType basicType = getTypeConfiguration().getBasicTypeForJavaType( paramClass ); if ( basicType == null ) { final BindableType parameterType; @@ -1279,12 +1278,7 @@ public class SqmCriteriaNodeBuilder implements NodeBuilder, SqmCreationContext, else { parameterType = null; } - return new JpaCriteriaParameter<>( - name, - parameterType, - true, - this - ); + return new JpaCriteriaParameter<>( name, parameterType, true, this ); } else { return new JpaCriteriaParameter<>( name, basicType, false, this );