Skip to content

Commit b3943a6

Browse files
committed
Polishing.
Removed instanceof assert. See #2857 Original pull request #2859
1 parent fff09c0 commit b3943a6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

spring-data-jpa/src/main/java/org/springframework/data/jpa/provider/HibernateJpaParametersParameterAccessor.java

-2
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ public Date unwrapDate(Object value) {
9797
? typedParameterValue.getValue() //
9898
: value;
9999

100-
Assert.isInstanceOf(Date.class, extracted, "Value must be either of type Date or a Date wrapped in a TypedParameterValue");
101-
102100
return (Date) extracted;
103101
}
104102
}

0 commit comments

Comments
 (0)