commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r754492 - /commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java
Date Sat, 14 Mar 2009 17:00:31 GMT
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;



Mime
View raw message