Skip to content

Commit 37bef84

Browse files
schauderklajdipaja
authored andcommitted
Polishing.
Removed instanceof assert. See spring-projects#2857 Original pull request spring-projects#2859
1 parent c51936c commit 37bef84

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

Lines changed: 0 additions & 2 deletions
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)