You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2008/08/25 06:56:43 UTC

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

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;