Extraneous ;
Make private variable final git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754492 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0cfdae8456
commit
1c224cbdd2
|
@ -46,7 +46,7 @@ import junit.framework.TestSuite;
|
||||||
*/
|
*/
|
||||||
public class ExtendedMessageFormatTest extends TestCase {
|
public class ExtendedMessageFormatTest extends TestCase {
|
||||||
|
|
||||||
private Map registry = new HashMap();
|
private final Map registry = new HashMap();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a new test suite containing this test case.
|
* Return a new test suite containing this test case.
|
||||||
|
@ -122,7 +122,7 @@ public class ExtendedMessageFormatTest extends TestCase {
|
||||||
for (Iterator l = testLocales.iterator(); l.hasNext();) {
|
for (Iterator l = testLocales.iterator(); l.hasNext();) {
|
||||||
Locale locale = (Locale) l.next();
|
Locale locale = (Locale) l.next();
|
||||||
MessageFormat builtins = createMessageFormat(builtinsPattern, locale);
|
MessageFormat builtins = createMessageFormat(builtinsPattern, locale);
|
||||||
String expectedPattern = extendedPattern + builtins.toPattern();;
|
String expectedPattern = extendedPattern + builtins.toPattern();
|
||||||
DateFormat df = null;
|
DateFormat df = null;
|
||||||
NumberFormat nf = null;
|
NumberFormat nf = null;
|
||||||
ExtendedMessageFormat emf = null;
|
ExtendedMessageFormat emf = null;
|
||||||
|
|
Loading…
Reference in New Issue