Polishing.

Removed instanceof assert.

See #2857
Original pull request #2859
This commit is contained in:
Jens Schauder
2023-03-15 14:28:06 +01:00
parent fff09c0993
commit b3943a6e50

View File

@@ -97,8 +97,6 @@ class HibernateJpaParametersParameterAccessor extends JpaParametersParameterAcce
? typedParameterValue.getValue() //
: value;
Assert.isInstanceOf(Date.class, extracted, "Value must be either of type Date or a Date wrapped in a TypedParameterValue");
return (Date) extracted;
}
}