You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2012/04/12 15:45:40 UTC
svn commit: r1325254 -
/ofbiz/trunk/framework/service/src/org/ofbiz/service/engine/GroovyEngine.java
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);
}