mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
revert: Fix the recurses infinitely caused by Autoboxing
Closes https://github.com/dromara/hutool/issues/1670
This commit is contained in:
@@ -113,7 +113,7 @@ abstract class FormatCache<F extends Format> {
|
||||
*/
|
||||
// package protected, for access from FastDateFormat; do not make public or protected
|
||||
F getDateTimeInstance(final int dateStyle, final int timeStyle, final TimeZone timeZone, final Locale locale) {
|
||||
return getDateTimeInstance(dateStyle, timeStyle, timeZone, locale);
|
||||
return getDateTimeInstance(Integer.valueOf(dateStyle), Integer.valueOf(timeStyle), timeZone, locale);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user