diff --git a/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java b/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java index a043f83f0..3b9a0f925 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 Map registry = new HashMap(); + private final Map registry = new HashMap(); /** * 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();) { Locale locale = (Locale) l.next(); MessageFormat builtins = createMessageFormat(builtinsPattern, locale); - String expectedPattern = extendedPattern + builtins.toPattern();; + String expectedPattern = extendedPattern + builtins.toPattern(); DateFormat df = null; NumberFormat nf = null; ExtendedMessageFormat emf = null;