svn commit: r1325254 - /ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/GroovyEngine.java

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

svn commit: r1325254 - /ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/GroovyEngine.java

jacopoc
Author: jacopoc
Date: Thu Apr 12 13:45:39 2012
New Revision: 1325254

URL: http://svn.apache.org/viewvc?rev=1325254&view=rev
Log:
Removed commented out code.

Modified:
    ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/GroovyEngine.java

Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/GroovyEngine.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/GroovyEngine.java?rev=1325254&r1=1325253&r2=1325254&view=diff
==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/GroovyEngine.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/GroovyEngine.java Thu Apr 12 13:45:39 2012
@@ -118,13 +118,6 @@ public final class GroovyEngine extends
             } else {
                 resultObj = script.invokeMethod(modelService.invoke, EMPTY_ARGS);
             }
-            /*
-            if (resultObj != null && resultObj instanceof Map<?, ?>) {
-                return cast(resultObj);
-            } else if (context.get("result") != null && context.get("result") instanceof Map<?, ?>) {
-                return cast(context.get("result"));
-            }
-            */
             if (resultObj == null) {
                 resultObj = scriptContext.getAttribute(ScriptUtil.RESULT_KEY);
             }