This is an automated email from the ASF dual-hosted git repository.

dgriffon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/unomi.git


The following commit(s) were added to refs/heads/master by this push:
     new 184582f43 UNOMI-651 : fix return type on groovy action executor -> do 
not return null (#483)
184582f43 is described below

commit 184582f43bb45d61fa021229e4d8865ff1fbfbd4
Author: David Griffon <[email protected]>
AuthorDate: Tue Aug 30 11:37:43 2022 +0200

    UNOMI-651 : fix return type on groovy action executor -> do not return null 
(#483)
---
 .../java/org/apache/unomi/groovy/actions/GroovyActionDispatcher.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/extensions/groovy-actions/services/src/main/java/org/apache/unomi/groovy/actions/GroovyActionDispatcher.java
 
b/extensions/groovy-actions/services/src/main/java/org/apache/unomi/groovy/actions/GroovyActionDispatcher.java
index 837681335..dadeabb44 100644
--- 
a/extensions/groovy-actions/services/src/main/java/org/apache/unomi/groovy/actions/GroovyActionDispatcher.java
+++ 
b/extensions/groovy-actions/services/src/main/java/org/apache/unomi/groovy/actions/GroovyActionDispatcher.java
@@ -74,6 +74,6 @@ public class GroovyActionDispatcher implements 
ActionDispatcher {
                 logger.error("Error executing Groovy action with key=" + 
actionName, e);
             }
         }
-        return null;
+        return 0;
     }
 }

Reply via email to