svn commit: r780583 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/store/ProductStoreWorker.java

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

svn commit: r780583 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/store/ProductStoreWorker.java

jleroux@apache.org
Author: jleroux
Date: Mon Jun  1 07:59:26 2009
New Revision: 780583

URL: http://svn.apache.org/viewvc?rev=780583&view=rev
Log:
Small formatting

Modified:
    ofbiz/trunk/applications/product/src/org/ofbiz/product/store/ProductStoreWorker.java

Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/store/ProductStoreWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/store/ProductStoreWorker.java?rev=780583&r1=780582&r2=780583&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/product/store/ProductStoreWorker.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/product/store/ProductStoreWorker.java Mon Jun  1 07:59:26 2009
@@ -98,11 +98,13 @@
     public static Locale getStoreLocale(HttpServletRequest request) {
         GenericValue productStore = getProductStore(request);
         if (UtilValidate.isEmpty(productStore)) {
-            Debug.logError("No product store found in request, cannot set locale!", module);
+            Debug.logError(
+                    "No product store found in request, cannot set locale!",
+                    module);
             return null;
-    } else {
-        return UtilHttp.getLocale(request, request.getSession(), productStore.getString("defaultLocaleString"));
-    }
+        } else {
+            return UtilHttp.getLocale(request, request.getSession(), productStore.getString("defaultLocaleString"));
+        }
     }
 
     public static String determineSingleFacilityForStore(GenericDelegator delegator, String productStoreId) {