From 61cba9d9a443c6121b00ffb862804c2763646131 Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Sat, 4 Jun 2011 02:58:30 +0000 Subject: [PATCH] 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 --- src/main/java/org/apache/commons/lang3/time/FormatCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/lang3/time/FormatCache.java b/src/main/java/org/apache/commons/lang3/time/FormatCache.java index a9d96758b..3337c3f76 100644 --- a/src/main/java/org/apache/commons/lang3/time/FormatCache.java +++ b/src/main/java/org/apache/commons/lang3/time/FormatCache.java @@ -116,7 +116,7 @@ abstract class FormatCache { * @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(); }