svn commit: r660218 - /ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductFeatures.groovy

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

svn commit: r660218 - /ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductFeatures.groovy

jonesde
Author: jonesde
Date: Mon May 26 08:44:25 2008
New Revision: 660218

URL: http://svn.apache.org/viewvc?rev=660218&view=rev
Log:
A few cleanups, taking advantage of dot syntax, done while testing

Modified:
    ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductFeatures.groovy

Modified: ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductFeatures.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductFeatures.groovy?rev=660218&r1=660217&r2=660218&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductFeatures.groovy (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductFeatures.groovy Mon May 26 08:44:25 2008
@@ -19,31 +19,19 @@
 
 import org.ofbiz.entity.*;
 
-
 productFeatureAndAppls = delegator.findByAnd('ProductFeatureAndAppl',
         ['productId' : productId],
         ['sequenceNum', 'productFeatureApplTypeId', 'productFeatureTypeId', 'description']);
-if (productFeatureAndAppls != null) {
-    context.put('productFeatureAndAppls', productFeatureAndAppls);
-}
+context.productFeatureAndAppls = productFeatureAndAppls;
 
 productFeatureCategories = delegator.findAll('ProductFeatureCategory', ['description']);
-if (productFeatureCategories != null) {
-    context.put('productFeatureCategories', productFeatureCategories);
-}
+context.productFeatureCategories = productFeatureCategories;
 
 productFeatureApplTypes = delegator.findAll('ProductFeatureApplType', ['description']);
-if (productFeatureApplTypes != null) {
-    context.put('productFeatureApplTypes', productFeatureApplTypes);
-}
+context.productFeatureApplTypes = productFeatureApplTypes;
 
 productFeatureGroups = delegator.findAll('ProductFeatureGroup', ['description']);
-if (productFeatureGroups != null) {
-    context.put('productFeatureGroups', productFeatureGroups);
-}
+context.productFeatureGroups = productFeatureGroups;
 
 productFeatureTypes = delegator.findAll('ProductFeatureType', ['description']);
-if (productFeatureTypes != null) {
-    context.put('productFeatureTypes', productFeatureTypes);
-}
-
+context.productFeatureTypes = productFeatureTypes;