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/26 08:07:16 UTC

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

Author: lektran
Date: Mon Aug 25 23:07:15 2008
New Revision: 688968

URL: http://svn.apache.org/viewvc?rev=688968&view=rev
Log:
Another groovy fix

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=688968&r1=688967&r2=688968&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 Mon Aug 25 23:07:15 2008
@@ -509,7 +509,7 @@
             }
 
             if (canIncludeService && constraintName.equals("alpha")) {
-                canIncludeService = (serviceName.charAt(0)+"").equals(constraintVal);
+                canIncludeService = (serviceName[0]).equals(constraintVal);
                 if (constraintVal.equals("NA")) {
                     canIncludeService = true;
                 }