Author: sebb
Date: Thu Sep 27 13:16:30 2012
New Revision: 1390993
URL: http://svn.apache.org/viewvc?rev=1390993&view=rev
Log:
Explicit boxing
Modified:
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDatePrinterTest.java
Modified:
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDatePrinterTest.java
URL:
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDatePrinterTest.java?rev=1390993&r1=1390992&r2=1390993&view=diff
==============================================================================
---
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDatePrinterTest.java
(original)
+++
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDatePrinterTest.java
Thu Sep 27 13:16:30 2012
@@ -48,7 +48,7 @@ public class FastDatePrinterTest {
}
private DatePrinter getDateInstance(int dateStyle, Locale locale) {
- return getInstance(FormatCache.getPatternForStyle(dateStyle, null,
locale), TimeZone.getDefault(), Locale.getDefault());
+ return
getInstance(FormatCache.getPatternForStyle(Integer.valueOf(dateStyle), null,
locale), TimeZone.getDefault(), Locale.getDefault());
}
private DatePrinter getInstance(String format, Locale locale) {