From f4ace74c760ac651d38323caa0a369a1fdae979d Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Sun, 25 Oct 2009 11:26:24 +0000 Subject: [PATCH] Fix some raw types git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829541 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/lang/text/ExtendedMessageFormatTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java b/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java index 2cce5ee4c..6fd41d033 100644 --- a/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java +++ b/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java @@ -46,7 +46,7 @@ import junit.framework.TestSuite; */ public class ExtendedMessageFormatTest extends TestCase { - private final Map registry = new HashMap(); + private final Map registry = new HashMap(); /** * Return a new test suite containing this test case. @@ -249,7 +249,7 @@ public class ExtendedMessageFormatTest extends TestCase { cal.set(2007, Calendar.JANUARY, 23); Object[] args = new Object[] {cal.getTime()}; Locale[] availableLocales = DateFormat.getAvailableLocales(); - Map registry = Collections.singletonMap("date", new OverrideShortDateFormatFactory()); + Map registry = Collections.singletonMap("date", new OverrideShortDateFormatFactory()); //check the non-overridden builtins: checkBuiltInFormat("1: {0,date}", registry, args, availableLocales); @@ -299,7 +299,7 @@ public class ExtendedMessageFormatTest extends TestCase { * @param args MessageFormat arguments * @param locales to test */ - private void checkBuiltInFormat(String pattern, Map registry, Object[] args, Locale[] locales) { + private void checkBuiltInFormat(String pattern, Map registry, Object[] args, Locale[] locales) { checkBuiltInFormat(pattern, registry, args, (Locale) null); for (int i = 0; i < locales.length; i++) { checkBuiltInFormat(pattern, registry, args, locales[i]); @@ -314,7 +314,7 @@ public class ExtendedMessageFormatTest extends TestCase { * @param args Object[] * @param locale Locale */ - private void checkBuiltInFormat(String pattern, Map registry, Object[] args, Locale locale) { + private void checkBuiltInFormat(String pattern, Map registry, Object[] args, Locale locale) { StringBuffer buffer = new StringBuffer(); buffer.append("Pattern=["); buffer.append(pattern);