Author: jacopoc
Date: Thu Apr 12 13:45:39 2012
New Revision: 1325254
URL:
http://svn.apache.org/viewvc?rev=1325254&view=revLog:
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);
}