fix an obvious bug in LocalTimeJavaDescriptor

This commit is contained in:
Gavin King 2020-08-24 14:41:13 +02:00 committed by Andrea Boriero
parent b2b4d7a3f6
commit 6fe9d347c5
1 changed files with 1 additions and 1 deletions

View File

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