svn commit: r688614 - /ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy

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

svn commit: r688614 - /ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy

lektran
Author: lektran
Date: Sun Aug 24 21:56:42 2008
New Revision: 688614

URL: http://svn.apache.org/viewvc?rev=688614&view=rev
Log:
Groovy fixes

Modified:
    ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy

Modified: ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy?rev=688614&r1=688613&r2=688614&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy (original)
+++ ofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/actions/service/AvailableServices.groovy Sun Aug 24 21:56:42 2008
@@ -325,7 +325,7 @@
     curServiceModel = curDispatchContext.getModelService(selectedService);
     curServiceMap.description = curServiceModel.description;
 
-    if (curServiceModel) {
+    if (curServiceModel != null) {
 
         engineName = curServiceModel.engineName ?: "NA";
         defaultEntityName = curServiceModel.defaultEntityName ?: "NA";
@@ -386,7 +386,7 @@
 
         inParams = curServiceModel.getInParamNames();
         inParamsList = new ArrayList(inParams.size());
-        imParams.each { paramName ->
+        inParams.each { paramName ->
             curParam = curServiceModel.getParam(paramName);
             curInParam = [:];
             curInParam.entityName = curParam.entityName;