From 1c224cbdd218d4613bb8f1ad7c94c6e4e7f4ee69 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Sat, 14 Mar 2009 17:00:31 +0000 Subject: [PATCH] Extraneous ; Make private variable final git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754492 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/commons/lang/text/ExtendedMessageFormatTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;