myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bara...@apache.org
Subject svn commit: r267274 - /myfaces/impl/trunk/src/java/org/apache/myfaces/application/ApplicationImpl.java
Date Fri, 02 Sep 2005 18:53:17 GMT
Author: baranda
Date: Fri Sep  2 11:53:14 2005
New Revision: 267274

URL: http://svn.apache.org/viewcvs?rev=267274&view=rev
Log:
Fixes MYFACES-482. If the Application defaultLocale is not set explicitly a null must be returned
in Application.getDefaultLocale. Although it was theoretically correct, I've removed the default
locale from the standard-faces-config.xml in order to pass the TCK (applicationSetGetDefaultLocaleTest)

Modified:
    myfaces/impl/trunk/src/java/org/apache/myfaces/application/ApplicationImpl.java

Modified: myfaces/impl/trunk/src/java/org/apache/myfaces/application/ApplicationImpl.java
URL: http://svn.apache.org/viewcvs/myfaces/impl/trunk/src/java/org/apache/myfaces/application/ApplicationImpl.java?rev=267274&r1=267273&r2=267274&view=diff
==============================================================================
--- myfaces/impl/trunk/src/java/org/apache/myfaces/application/ApplicationImpl.java (original)
+++ myfaces/impl/trunk/src/java/org/apache/myfaces/application/ApplicationImpl.java Fri Sep
 2 11:53:14 2005
@@ -67,7 +67,7 @@
         };
 
     private Collection           _supportedLocales = Collections.EMPTY_SET;
-    private Locale               _defaultLocale = Locale.getDefault();
+    private Locale               _defaultLocale;
     private String               _messageBundle;
 
     private ViewHandler          _viewHandler;



Mime
View raw message