File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/main/org/firebirdsql/jdbc/field Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 2626@ SuppressWarnings ("RedundantThrows" )
2727final class FBTimeField extends AbstractWithoutTimeZoneField {
2828
29- private static final LocalDate LOCAL_DATE_EPOCH = LocalDate .of (1970 , 1 , 1 );
30-
3129 @ NullMarked
3230 FBTimeField (FieldDescriptor fieldDescriptor , FieldDataProvider dataProvider , int requiredType ) throws SQLException {
3331 super (fieldDescriptor , dataProvider , requiredType );
@@ -51,7 +49,7 @@ LocalTime getLocalTime() throws SQLException {
5149 @ Override
5250 LocalDateTime getLocalDateTime () throws SQLException {
5351 LocalTime localTime = getLocalTime ();
54- return localTime != null ? localTime .atDate (LOCAL_DATE_EPOCH ) : null ;
52+ return localTime != null ? localTime .atDate (LocalDate . EPOCH ) : null ;
5553 }
5654
5755 //--- setXXX methods
You can’t perform that action at this time.
0 commit comments