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