mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-06 21:58:03 +08:00
revert: Fix the recurses infinitely caused by Autoboxing
Closes https://github.com/dromara/hutool/issues/1670
This commit is contained in:
parent
a97e967ecd
commit
8955d03a4f
@ -113,7 +113,7 @@ abstract class FormatCache<F extends Format> {
|
|||||||
*/
|
*/
|
||||||
// package protected, for access from FastDateFormat; do not make public or protected
|
// 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) {
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user