You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2009/03/14 18:00:31 UTC

svn commit: r754492 - /commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java

Author: sebb
Date: Sat Mar 14 17:00:31 2009
New Revision: 754492

URL: http://svn.apache.org/viewvc?rev=754492&view=rev
Log:
Extraneous ;
Make private variable final

Modified:
    commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java?rev=754492&r1=754491&r2=754492&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java Sat Mar 14 17:00:31 2009
@@ -46,7 +46,7 @@
  */
 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 @@
         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;