Skip to content

Commit

Permalink
Undo innadvertant change made while debugging Java 21 build
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Oct 20, 2023
1 parent e2e6119 commit 76b72ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,9 @@ protected <T> T convertToType(final Class<T> targetType, final Object value) thr
protected DateFormat getFormat(final Locale locale, final TimeZone timeZone) {
DateFormat format = null;
if (locale == null) {
format = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT);
format = DateFormat.getDateInstance(DateFormat.SHORT);
} else {
format = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, locale);
format = DateFormat.getDateInstance(DateFormat.SHORT, locale);
}
if (timeZone != null) {
format.setTimeZone(timeZone);
Expand Down

0 comments on commit 76b72ee

Please sign in to comment.