Fixing accidental switch to 'int' in r1131309
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1131310 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c1cb131f71
commit
61cba9d9a4
|
@ -116,7 +116,7 @@ abstract class FormatCache<F extends Format> {
|
|||
* @throws IllegalArgumentException if the Locale has no date/time
|
||||
* pattern defined
|
||||
*/
|
||||
public F getDateTimeInstance(int dateStyle, int timeStyle, TimeZone timeZone, Locale locale) {
|
||||
public F getDateTimeInstance(Integer dateStyle, Integer timeStyle, TimeZone timeZone, Locale locale) {
|
||||
if (locale == null) {
|
||||
locale = Locale.getDefault();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue