HHH-14183 LocalTimeJavaDescriptor attempts casting to LocalDate

This commit is contained in:
Gavin King 2020-08-24 14:43:40 +02:00 committed by Sanne Grinovero
parent f9abbaf29d
commit bb5a47086d
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public class LocalTimeJavaDescriptor extends AbstractTypeDescriptor<LocalTime> {
return null;
}
if ( LocalDate.class.isAssignableFrom( type ) ) {
if ( LocalTime.class.isAssignableFrom( type ) ) {
return (X) value;
}