Author: jacopoc
Date: Thu Apr 5 09:46:39 2012
New Revision: 1309725
URL: http://svn.apache.org/viewvc?rev=1309725&view=rev
Log:
small formatting fix
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java?rev=1309725&r1=1309724&r2=1309725&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java
(original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java
Thu Apr 5 09:46:39 2012
@@ -1080,7 +1080,7 @@ public class OrderServices {
String productId = (String) orderItem.get("productId");
GenericValue product = delegator.getRelatedOne("Product",
orderItem);
- if (product!= null &&
("SERVICE_PRODUCT".equals(product.get("productTypeId")) ||
"AGGREGATEDSERV_CONF".equals(product.get("productTypeId")))) {
+ if (product != null &&
("SERVICE_PRODUCT".equals(product.get("productTypeId")) ||
"AGGREGATEDSERV_CONF".equals(product.get("productTypeId")))) {
String inventoryFacilityId = null;
if
("Y".equals(productStore.getString("oneInventoryFacility"))) {
inventoryFacilityId =
productStore.getString("inventoryFacilityId");