You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2017/12/31 06:49:38 UTC

[2/3] groovy git commit: Fix the license header

Fix the license header

(cherry picked from commit 5fc8309)


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/75cebfa8
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/75cebfa8
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/75cebfa8

Branch: refs/heads/GROOVY_2_6_X
Commit: 75cebfa8199da8157c3e59ac318a1bcd8632c17c
Parents: 6e30b3f
Author: sunlan <su...@apache.org>
Authored: Sun Dec 31 13:44:06 2017 +0800
Committer: sunlan <su...@apache.org>
Committed: Sun Dec 31 14:49:32 2017 +0800

----------------------------------------------------------------------
 .../src/test/resources/bugs/BUG-GROOVY-8426.groovy     | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/75cebfa8/subprojects/parser-antlr4/src/test/resources/bugs/BUG-GROOVY-8426.groovy
----------------------------------------------------------------------
diff --git a/subprojects/parser-antlr4/src/test/resources/bugs/BUG-GROOVY-8426.groovy b/subprojects/parser-antlr4/src/test/resources/bugs/BUG-GROOVY-8426.groovy
index 59404a4..aa0e4d4 100644
--- a/subprojects/parser-antlr4/src/test/resources/bugs/BUG-GROOVY-8426.groovy
+++ b/subprojects/parser-antlr4/src/test/resources/bugs/BUG-GROOVY-8426.groovy
@@ -1,9 +1,3 @@
-import org.codehaus.groovy.ast.ClassNode
-import org.codehaus.groovy.ast.MethodNode
-import org.codehaus.groovy.ast.builder.AstBuilder
-import org.codehaus.groovy.ast.stmt.BlockStatement
-import static org.codehaus.groovy.control.CompilePhase.CONVERSION
-
 /*
  *  Licensed to the Apache Software Foundation (ASF) under one
  *  or more contributor license agreements.  See the NOTICE file
@@ -23,6 +17,13 @@ import static org.codehaus.groovy.control.CompilePhase.CONVERSION
  *  under the License.
  */
 
+import org.codehaus.groovy.ast.ClassNode
+import org.codehaus.groovy.ast.MethodNode
+import org.codehaus.groovy.ast.builder.AstBuilder
+import org.codehaus.groovy.ast.stmt.BlockStatement
+import static org.codehaus.groovy.control.CompilePhase.CONVERSION
+
+
  class Groovy8426Test {
     void testMethodBlockStatement() {
         def result = new AstBuilder().buildFromString CONVERSION, false, '''