Skip to content

Commit

Permalink
optimized code
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengJie1053 committed Jul 16, 2024
1 parent 58cde52 commit dc403cd
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ public class MysqlDebeziumTimeConverter
private static boolean loggedUnknownTimeClass = false;
private static boolean loggedUnknownTimestampWithTimeZoneClass = false;

private static final String DATE = "DATE";
private static final String DATETIME = "DATETIME";
private static final String TIME = "TIME";
private static final String TIMESTAMP = "TIMESTAMP";
private final String DATE = "DATE";
private final String DATETIME = "DATETIME";
private final String TIME = "TIME";
private final String TIMESTAMP = "TIMESTAMP";
private final String[] DATE_TYPES = {DATE, DATETIME, TIME, TIMESTAMP};

protected static final String DATE_FORMAT = "yyyy-MM-dd";
Expand Down

0 comments on commit dc403cd

Please sign in to comment.