You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/03/09 10:22:15 UTC

[camel-k-runtime] 01/01: Bump Groovy to version 3.0.2

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

acosentino pushed a commit to branch groovy-3.0.2
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git

commit de1b13d20f79182ca2f37780cd5756973535ea3f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 9 11:21:28 2020 +0100

    Bump Groovy to version 3.0.2
---
 .../org/apache/camel/k/loader/groovy/dsl/BeanConfiguration.groovy       | 2 +-
 pom.xml                                                                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/camel-k-loader-groovy/src/main/groovy/org/apache/camel/k/loader/groovy/dsl/BeanConfiguration.groovy b/camel-k-loader-groovy/src/main/groovy/org/apache/camel/k/loader/groovy/dsl/BeanConfiguration.groovy
index 5616e13..feb0657 100644
--- a/camel-k-loader-groovy/src/main/groovy/org/apache/camel/k/loader/groovy/dsl/BeanConfiguration.groovy
+++ b/camel-k-loader-groovy/src/main/groovy/org/apache/camel/k/loader/groovy/dsl/BeanConfiguration.groovy
@@ -32,7 +32,7 @@ class BeanConfiguration {
     }
 
     def methodMissing(String name, arguments) {
-        final Object value
+        Object value = null
         final Object[] args = arguments as Object[]
 
         if (args == null) {
diff --git a/pom.xml b/pom.xml
index df371d7..964c41c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,7 +48,7 @@
         <assertj.version>3.15.0</assertj.version>
         <log4j2.version>2.13.1</log4j2.version>
         <slf4j.version>1.7.30</slf4j.version>
-        <groovy.version>3.0.1</groovy.version>
+        <groovy.version>3.0.2</groovy.version>
         <kotlin.version>1.3.70</kotlin.version>
         <snakeyaml.version>1.25</snakeyaml.version>
         <spock.version>2.0-M2-groovy-3.0</spock.version>