You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ba...@apache.org on 2011/06/04 04:58:30 UTC
svn commit: r1131310 -
/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FormatCache.java
Author: bayard
Date: Sat Jun 4 02:58:30 2011
New Revision: 1131310
URL: http://svn.apache.org/viewvc?rev=1131310&view=rev
Log:
Fixing accidental switch to 'int' in r1131309
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FormatCache.java
Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FormatCache.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FormatCache.java?rev=1131310&r1=1131309&r2=1131310&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FormatCache.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FormatCache.java Sat Jun 4 02:58:30 2011
@@ -116,7 +116,7 @@ abstract class FormatCache<F extends For
* @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();
}