From 1a8cbad127e36d60236d11d449e252cd4633aca2 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Mon, 23 Dec 2024 12:51:33 +0100 Subject: [PATCH] remove redundant typecast --- .../hibernate/query/sqm/tuple/internal/AnonymousTupleType.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/query/sqm/tuple/internal/AnonymousTupleType.java b/hibernate-core/src/main/java/org/hibernate/query/sqm/tuple/internal/AnonymousTupleType.java index 3dbf8f21b607..6da8446da523 100644 --- a/hibernate-core/src/main/java/org/hibernate/query/sqm/tuple/internal/AnonymousTupleType.java +++ b/hibernate-core/src/main/java/org/hibernate/query/sqm/tuple/internal/AnonymousTupleType.java @@ -231,8 +231,7 @@ else if ( sqmType instanceof BasicType ) { @Override public JavaType getExpressibleJavaType() { - //noinspection unchecked - return (JavaType) javaTypeDescriptor; + return javaTypeDescriptor; } @Override