Skip to content

Commit

Permalink
fix no-arg constructor for DateTimeDeserializer
Browse files Browse the repository at this point in the history
  • Loading branch information
Yu Hoi Chau committed Mar 17, 2022
1 parent ae9a6bf commit 5677411
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public DateTimeDeserializer(Class<?> cls, JacksonJodaDateFormat format) {
super(cls, format);
}

public DateTimeDeserializer(Class<?> cls) {
super(cls, FormatConfig.DEFAULT_DATETIME_PARSER);
public DateTimeDeserializer() {
super(DateTime.class, FormatConfig.DEFAULT_DATETIME_PARSER);
}

@SuppressWarnings("unchecked")
Expand Down

0 comments on commit 5677411

Please sign in to comment.