portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1037761 - /portals/jetspeed-2/portal/trunk/jetspeed-commons/src/test/java/org/apache/jetspeed/util/TestReloadablePropertyResourceBundle.java
Date Mon, 22 Nov 2010 16:08:03 GMT
Author: ate
Date: Mon Nov 22 16:08:02 2010
New Revision: 1037761

URL: http://svn.apache.org/viewvc?rev=1037761&view=rev
Log:
Minor fix using proper Locale construction

Modified:
    portals/jetspeed-2/portal/trunk/jetspeed-commons/src/test/java/org/apache/jetspeed/util/TestReloadablePropertyResourceBundle.java

Modified: portals/jetspeed-2/portal/trunk/jetspeed-commons/src/test/java/org/apache/jetspeed/util/TestReloadablePropertyResourceBundle.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-commons/src/test/java/org/apache/jetspeed/util/TestReloadablePropertyResourceBundle.java?rev=1037761&r1=1037760&r2=1037761&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-commons/src/test/java/org/apache/jetspeed/util/TestReloadablePropertyResourceBundle.java
(original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-commons/src/test/java/org/apache/jetspeed/util/TestReloadablePropertyResourceBundle.java
Mon Nov 22 16:08:02 2010
@@ -36,7 +36,7 @@ public class TestReloadablePropertyResou
     public void setUp()
     {
         String baseName = TestReloadablePropertyResourceBundle.class.getName();
-        ResourceBundle internalBundle = ResourceBundle.getBundle(baseName, new Locale("en_US"));
+        ResourceBundle internalBundle = ResourceBundle.getBundle(baseName, new Locale("en","US"));
         assertTrue(internalBundle instanceof PropertyResourceBundle);
         bundle = new ReloadablePropertyResourceBundle((PropertyResourceBundle) internalBundle,
baseName);
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message