This is an automated email from the ASF dual-hosted git repository. sunlan pushed a commit to branch GROOVY_2_5_X in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_2_5_X by this push: new 9064c59 Fix failing build: avoid groovy 3 syntax in 2.5 branch 9064c59 is described below commit 9064c599ce8eed5721a3db7bc23ec56671381a41 Author: Daniel Sun <sun...@apache.org> AuthorDate: Wed Jan 16 22:25:58 2019 +0800 Fix failing build: avoid groovy 3 syntax in 2.5 branch --- src/test/groovy/bugs/Groovy7812Bug.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/groovy/bugs/Groovy7812Bug.groovy b/src/test/groovy/bugs/Groovy7812Bug.groovy index ac94ee6..efd8e02 100644 --- a/src/test/groovy/bugs/Groovy7812Bug.groovy +++ b/src/test/groovy/bugs/Groovy7812Bug.groovy @@ -47,6 +47,6 @@ class Groovy7812Bug extends GroovyTestCase { static void runScript(String path) { - GroovyStarter.main(new String[] { "--main", "groovy.ui.GroovyMain", path }) + GroovyStarter.main(["--main", "groovy.ui.GroovyMain", path] as String[]) } }