This is an automated email from the ASF dual-hosted git repository. nmalin pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new 8548f3a Fixed: Remove unnecessary variable instanciation 8548f3a is described below commit 8548f3a8a12e370ca8b0b9dcb1675449d5bd1e36 Author: Nicolas Malin <nicolas.ma...@nereide.fr> AuthorDate: Fri Sep 17 15:14:13 2021 +0200 Fixed: Remove unnecessary variable instanciation No Functional change --- .../groovy/org/apache/ofbiz/service/engine/GroovyBaseScript.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/service/src/main/groovy/org/apache/ofbiz/service/engine/GroovyBaseScript.groovy b/framework/service/src/main/groovy/org/apache/ofbiz/service/engine/GroovyBaseScript.groovy index 319faf4..50f6b9f 100644 --- a/framework/service/src/main/groovy/org/apache/ofbiz/service/engine/GroovyBaseScript.groovy +++ b/framework/service/src/main/groovy/org/apache/ofbiz/service/engine/GroovyBaseScript.groovy @@ -66,11 +66,11 @@ abstract class GroovyBaseScript extends Script { } Map makeValue(String entityName) throws ExecutionServiceException { - return result = binding.getVariable('delegator').makeValue(entityName) + return binding.getVariable('delegator').makeValue(entityName) } Map makeValue(String entityName, Map inputMap) throws ExecutionServiceException { - return result = binding.getVariable('delegator').makeValidValue(entityName, inputMap) + return binding.getVariable('delegator').makeValidValue(entityName, inputMap) } EntityQuery from(def entity) {