svn commit: r603059 - /ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r603059 - /ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java

adrianc
Author: adrianc
Date: Mon Dec 10 13:44:30 2007
New Revision: 603059

URL: http://svn.apache.org/viewvc?rev=603059&view=rev
Log:
Small fixups for last commit.

Modified:
    ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java

Modified: ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java?rev=603059&r1=603058&r2=603059&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java (original)
+++ ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java Mon Dec 10 13:44:30 2007
@@ -592,7 +592,7 @@
      */
     public static Locale getFallbackLocale() {
         if (fallbackLocale == null) {
-            synchronized (UtilResourceBundle.class) {
+            synchronized (UtilProperties.class) {
                 if (fallbackLocale == null) {
                     String locale = getPropertyValue("general", "locale.properties.fallback");
                     if (UtilValidate.isNotEmpty(locale)) {
@@ -611,7 +611,7 @@
      * is ordered most-specific to least-specific. Example:
      * <code>localeToCandidateList(Locale.US)</code> would return
      * a list containing <code>en_US</code> and <code>en</code>.
-     * @return A list of default candidate locales.
+     * @return A list of candidate locales.
      */
     public static List<Locale> localeToCandidateList(Locale locale) {
         List<Locale> localeList = FastList.newInstance();