commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r1131310 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FormatCache.java
Date Sat, 04 Jun 2011 02:58:30 GMT
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();
         }



Mime
View raw message