Polishing.
Removed instanceof assert. See #2857 Original pull request #2859
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user