You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2017/10/21 03:36:00 UTC

groovy git commit: trivial refactor

Repository: groovy
Updated Branches:
  refs/heads/master 370950743 -> b86c82477


trivial refactor


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

Branch: refs/heads/master
Commit: b86c824775c6c0b918200597f592319deea887c0
Parents: 3709507
Author: paulk <pa...@asert.com.au>
Authored: Sat Oct 21 13:35:52 2017 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Sat Oct 21 13:35:52 2017 +1000

----------------------------------------------------------------------
 .../parser/antlr4/GroovyParserTest.groovy       | 327 +++++++++----------
 .../groovy/parser/antlr4/TestUtils.groovy       |   4 -
 2 files changed, 161 insertions(+), 170 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/b86c8247/subprojects/parser-antlr4/src/test/groovy/org/apache/groovy/parser/antlr4/GroovyParserTest.groovy
----------------------------------------------------------------------
diff --git a/subprojects/parser-antlr4/src/test/groovy/org/apache/groovy/parser/antlr4/GroovyParserTest.groovy b/subprojects/parser-antlr4/src/test/groovy/org/apache/groovy/parser/antlr4/GroovyParserTest.groovy
index fd65344..053ab1a 100644
--- a/subprojects/parser-antlr4/src/test/groovy/org/apache/groovy/parser/antlr4/GroovyParserTest.groovy
+++ b/subprojects/parser-antlr4/src/test/groovy/org/apache/groovy/parser/antlr4/GroovyParserTest.groovy
@@ -32,9 +32,6 @@ import static org.apache.groovy.parser.antlr4.TestUtils.doRunAndTest
 
 /**
  * Some basic test cases for the new parser
- *
- * @author  <a href="mailto:realbluesun@hotmail.com">Daniel.Sun</a>
- * Created on    2016/08/14
  */
 class GroovyParserTest extends GroovyTestCase {
 
@@ -43,14 +40,14 @@ class GroovyParserTest extends GroovyTestCase {
     void tearDown() {}
 
     void "test groovy core - Comments"() {
-        doTest('core/Comments_01.groovy', [ExpressionStatement]);
-        doTestAttachedComments();
+        doTest('core/Comments_01.groovy', [ExpressionStatement])
+        doTestAttachedComments()
     }
 
     private static doTestAttachedComments() {
-        def (newAST, oldAST) = doTest('core/Comments_02.groovy');
-        List<ClassNode> classes = new ArrayList<>(newAST.classes).sort { c1, c2 -> c1.name <=> c2.name };
-        List<MethodNode> methods = new ArrayList<>(newAST.methods).sort { m1, m2 -> m1.name <=> m2.name };
+        def (newAST, oldAST) = doTest('core/Comments_02.groovy')
+        List<ClassNode> classes = new ArrayList<>(newAST.classes).sort { c1, c2 -> c1.name <=> c2.name }
+        List<MethodNode> methods = new ArrayList<>(newAST.methods).sort { m1, m2 -> m1.name <=> m2.name }
 
         assert classes[0].groovydoc.content.replaceAll(/\r?\n/, '')            == '/** * test class Comments */'
         assert classes[0].fields[0].groovydoc.content.replaceAll(/\r?\n/, '')  == '/**     * test Comments.SOME_VAR     */'
@@ -83,308 +80,306 @@ class GroovyParserTest extends GroovyTestCase {
     }
 
     void "test groovy core - PackageDeclaration"() {
-        doTest('core/PackageDeclaration_01.groovy');
-        doTest('core/PackageDeclaration_02.groovy');
-        doTest('core/PackageDeclaration_03.groovy');
-        doTest('core/PackageDeclaration_04.groovy');
-        doTest('core/PackageDeclaration_05.groovy');
-        doTest('core/PackageDeclaration_06.groovy');
+        doTest('core/PackageDeclaration_01.groovy')
+        doTest('core/PackageDeclaration_02.groovy')
+        doTest('core/PackageDeclaration_03.groovy')
+        doTest('core/PackageDeclaration_04.groovy')
+        doTest('core/PackageDeclaration_05.groovy')
+        doTest('core/PackageDeclaration_06.groovy')
     }
 
     void "test groovy core - ImportDeclaration"() {
-        doTest('core/ImportDeclaration_01.groovy');
-        doTest('core/ImportDeclaration_02.groovy');
-        doTest('core/ImportDeclaration_03.groovy');
-        doTest('core/ImportDeclaration_04.groovy');
-        doTest('core/ImportDeclaration_05.groovy');
-        doTest('core/ImportDeclaration_06.groovy');
-        doTest('core/ImportDeclaration_07.groovy');
-        doTest('core/ImportDeclaration_08.groovy');
+        doTest('core/ImportDeclaration_01.groovy')
+        doTest('core/ImportDeclaration_02.groovy')
+        doTest('core/ImportDeclaration_03.groovy')
+        doTest('core/ImportDeclaration_04.groovy')
+        doTest('core/ImportDeclaration_05.groovy')
+        doTest('core/ImportDeclaration_06.groovy')
+        doTest('core/ImportDeclaration_07.groovy')
+        doTest('core/ImportDeclaration_08.groovy')
     }
 
     void "test groovy core - Annotation"() {
-        doTest('core/Annotation_01.groovy');
-        doTest('core/Annotation_02.groovy');
-        doTest('core/Annotation_03.groovy');
-        doTest('core/Annotation_04.groovy');
-        doTest('core/Annotation_05.groovy');
-        doTest('core/Annotation_06.groovy');
-        doTest('core/Annotation_07.groovy');
-        doTest('core/Annotation_08.groovy');
-        doTest('core/Annotation_09.groovy');
-        doRunAndTest('core/Annotation_10x.groovy');
+        doTest('core/Annotation_01.groovy')
+        doTest('core/Annotation_02.groovy')
+        doTest('core/Annotation_03.groovy')
+        doTest('core/Annotation_04.groovy')
+        doTest('core/Annotation_05.groovy')
+        doTest('core/Annotation_06.groovy')
+        doTest('core/Annotation_07.groovy')
+        doTest('core/Annotation_08.groovy')
+        doTest('core/Annotation_09.groovy')
+        doRunAndTest('core/Annotation_10x.groovy')
     }
 
     void "test groovy core - Literal"() {
-        doTest('core/Literal_01.groovy');
-        doTest('core/Literal_02.groovy', [ExpressionStatement]);
-        doTest('core/Literal_03.groovy');
+        doTest('core/Literal_01.groovy')
+        doTest('core/Literal_02.groovy', [ExpressionStatement])
+        doTest('core/Literal_03.groovy')
     }
 
     void "test groovy core - GString"() {
-        doTest('core/GString_01.groovy');
-        doTest('core/GString_02.groovy');
-        doTest('core/GString_03.groovy');
-        doTest('core/GString_04.groovy');
-        doTest('core/GString_05.groovy');
-        doTest('core/GString_06.groovy');
+        doTest('core/GString_01.groovy')
+        doTest('core/GString_02.groovy')
+        doTest('core/GString_03.groovy')
+        doTest('core/GString_04.groovy')
+        doTest('core/GString_05.groovy')
+        doTest('core/GString_06.groovy')
     }
 
     void "test groovy core - Closure"() {
-        doTest('core/Closure_01.groovy');
-        doTest('core/Closure_02.groovy');
-        doTest('core/Closure_03.groovy');
-        doTest('core/Closure_04.groovy');
-        doTest('core/Closure_05.groovy', [Parameter]);
-        doTest('core/Closure_06.groovy', [Parameter]);
-        doTest('core/Closure_07.groovy', [Parameter]);
-        doTest('core/Closure_08.groovy', [Parameter]);
-        doTest('core/Closure_09.groovy', [Parameter]);
-        doTest('core/Closure_10.groovy', [Parameter]);
+        doTest('core/Closure_01.groovy')
+        doTest('core/Closure_02.groovy')
+        doTest('core/Closure_03.groovy')
+        doTest('core/Closure_04.groovy')
+        doTest('core/Closure_05.groovy', [Parameter])
+        doTest('core/Closure_06.groovy', [Parameter])
+        doTest('core/Closure_07.groovy', [Parameter])
+        doTest('core/Closure_08.groovy', [Parameter])
+        doTest('core/Closure_09.groovy', [Parameter])
+        doTest('core/Closure_10.groovy', [Parameter])
     }
 
     void "test groovy core - Lambda"() {
-        doRunAndTest('core/Lambda_01x.groovy');
+        doRunAndTest('core/Lambda_01x.groovy')
     }
 
     void "test groovy core - MethodReference"() {
-        doRunAndTest('core/MethodReference_01x.groovy');
+        doRunAndTest('core/MethodReference_01x.groovy')
     }
 
     void "test groovy core - MethodPointer"() {
-        doRunAndTest('core/MethodPointer_01x.groovy');
+        doRunAndTest('core/MethodPointer_01x.groovy')
     }
 
     void "test groovy core - ElvisAssignment"() {
-        doRunAndTest('core/ElvisAssignment_01x.groovy');
+        doRunAndTest('core/ElvisAssignment_01x.groovy')
     }
 
     void "test groovy core - List"() {
-        doTest('core/List_01.groovy');
+        doTest('core/List_01.groovy')
     }
 
     void "test groovy core - Map"() {
-        doTest('core/Map_01.groovy');
-        doRunAndTest('core/Map_02x.groovy');
+        doTest('core/Map_01.groovy')
+        doRunAndTest('core/Map_02x.groovy')
     }
 
     void "test groovy core - Expression"() {
-        doTest('core/Expression_01.groovy');
-        doTest('core/Expression_02.groovy');
-        doTest('core/Expression_03.groovy');
-        doTest('core/Expression_04.groovy');
-        doTest('core/Expression_05.groovy');
-        doTest('core/Expression_06.groovy');
-        doTest('core/Expression_07.groovy');
-        doTest('core/Expression_08.groovy');
-        doTest('core/Expression_09.groovy');
-        doTest('core/Expression_10.groovy');
-        doTest('core/Expression_11.groovy');
-        doTest('core/Expression_12.groovy');
-        doTest('core/Expression_13.groovy');
-        doTest('core/Expression_14.groovy');
-        doTest('core/Expression_15.groovy');
-        doTest('core/Expression_16.groovy', [Parameter, ExpressionStatement]);
-        doTest('core/Expression_17.groovy');
-        doTest('core/Expression_18.groovy');
-        doTest('core/Expression_19.groovy');
-        doTest('core/Expression_20.groovy');
-        doRunAndTest('core/Expression_21x.groovy');
-        doTest('core/Expression_22x.groovy');
-        doRunAndTest('core/Expression_22x.groovy');
-        doRunAndTest('core/Expression_23x.groovy');
+        doTest('core/Expression_01.groovy')
+        doTest('core/Expression_02.groovy')
+        doTest('core/Expression_03.groovy')
+        doTest('core/Expression_04.groovy')
+        doTest('core/Expression_05.groovy')
+        doTest('core/Expression_06.groovy')
+        doTest('core/Expression_07.groovy')
+        doTest('core/Expression_08.groovy')
+        doTest('core/Expression_09.groovy')
+        doTest('core/Expression_10.groovy')
+        doTest('core/Expression_11.groovy')
+        doTest('core/Expression_12.groovy')
+        doTest('core/Expression_13.groovy')
+        doTest('core/Expression_14.groovy')
+        doTest('core/Expression_15.groovy')
+        doTest('core/Expression_16.groovy', [Parameter, ExpressionStatement])
+        doTest('core/Expression_17.groovy')
+        doTest('core/Expression_18.groovy')
+        doTest('core/Expression_19.groovy')
+        doTest('core/Expression_20.groovy')
+        doRunAndTest('core/Expression_21x.groovy')
+        doTest('core/Expression_22x.groovy')
+        doRunAndTest('core/Expression_22x.groovy')
+        doRunAndTest('core/Expression_23x.groovy')
     }
 
     void "test groovy core - IdenticalOp"() {
-        doRunAndTest('core/IdenticalOp_01x.groovy');
+        doRunAndTest('core/IdenticalOp_01x.groovy')
     }
 
     void "test groovy core - Assert"() {
-        doTest('core/Assert_01.groovy');
-        doRunAndTest('core/Assert_02x.groovy');
-        doRunAndTest('core/Assert_03x.groovy');
-        doRunAndTest('core/Assert_04x.groovy');
+        doTest('core/Assert_01.groovy')
+        doRunAndTest('core/Assert_02x.groovy')
+        doRunAndTest('core/Assert_03x.groovy')
+        doRunAndTest('core/Assert_04x.groovy')
     }
 
     void "test groovy core - IfElse"() {
-        doTest('core/IfElse_01.groovy', [AssertStatement]);
+        doTest('core/IfElse_01.groovy', [AssertStatement])
     }
 
     void "test groovy core - For"() {
-        doTest('core/For_01.groovy', [AssertStatement]);
-        doTest('core/For_02.groovy');
-        doTest('core/For_03.groovy');
-        doRunAndTest('core/For_04x.groovy');
-        doRunAndTest('core/For_05x.groovy');
+        doTest('core/For_01.groovy', [AssertStatement])
+        doTest('core/For_02.groovy')
+        doTest('core/For_03.groovy')
+        doRunAndTest('core/For_04x.groovy')
+        doRunAndTest('core/For_05x.groovy')
     }
 
     void "test groovy core - While"() {
-        doTest('core/While_01.groovy');
-        doRunAndTest('core/While_02x.groovy');
+        doTest('core/While_01.groovy')
+        doRunAndTest('core/While_02x.groovy')
     }
 
     void "test groovy core - CodeBlock"() {
-        doRunAndTest('core/CodeBlock_01x.groovy');
+        doRunAndTest('core/CodeBlock_01x.groovy')
     }
 
     void "test groovy core - DoWhile"() {
-        doRunAndTest('core/DoWhile_01x.groovy');
-        doRunAndTest('core/DoWhile_02x.groovy');
-        doRunAndTest('core/DoWhile_03x.groovy');
-        doRunAndTest('core/DoWhile_04x.groovy');
+        doRunAndTest('core/DoWhile_01x.groovy')
+        doRunAndTest('core/DoWhile_02x.groovy')
+        doRunAndTest('core/DoWhile_03x.groovy')
+        doRunAndTest('core/DoWhile_04x.groovy')
     }
 
 
     void "test groovy core - TryCatch"() {
-        doTest('core/TryCatch_01.groovy');
+        doTest('core/TryCatch_01.groovy')
     }
 
     void "test groovy core - TryWithResources"() {
-        doRunAndTest('core/TryWithResources_01x.groovy');
+        doRunAndTest('core/TryWithResources_01x.groovy')
     }
 
     void "test groovy core - SafeIndex"() {
-        doRunAndTest('core/SafeIndex_01x.groovy');
-        doRunAndTest('core/SafeIndex_02x.groovy');
-        doRunAndTest('core/SafeIndex_03x.groovy');
+        doRunAndTest('core/SafeIndex_01x.groovy')
+        doRunAndTest('core/SafeIndex_02x.groovy')
+        doRunAndTest('core/SafeIndex_03x.groovy')
     }
 
     void "test groovy core - NegativeRelationalOperators"() {
-        doRunAndTest('core/NegativeRelationalOperators_01x.groovy');
-        doRunAndTest('core/NegativeRelationalOperators_02x.groovy');
+        doRunAndTest('core/NegativeRelationalOperators_01x.groovy')
+        doRunAndTest('core/NegativeRelationalOperators_02x.groovy')
     }
 
     void "test groovy core - DefaultMethod"() {
-        doRunAndTest('core/DefaultMethod_01x.groovy');
-        doRunAndTest('core/DefaultMethod_02x.groovy');
+        doRunAndTest('core/DefaultMethod_01x.groovy')
+        doRunAndTest('core/DefaultMethod_02x.groovy')
     }
 
 
     void "test groovy core - Switch"() {
-        doTest('core/Switch_01.groovy');
+        doTest('core/Switch_01.groovy')
     }
 
     void "test groovy core - Synchronized"() {
-        doTest('core/Synchronized_01.groovy');
+        doTest('core/Synchronized_01.groovy')
     }
 
     void "test groovy core - Return"() {
-        doTest('core/Return_01.groovy');
+        doTest('core/Return_01.groovy')
     }
 
     void "test groovy core - Throw"() {
-        doTest('core/Throw_01.groovy');
+        doTest('core/Throw_01.groovy')
     }
 
     void "test groovy core - Label"() {
-        doTest('core/Label_01.groovy');
+        doTest('core/Label_01.groovy')
     }
 
     void "test groovy core - LocalVariableDeclaration"() {
-        doTest('core/LocalVariableDeclaration_01.groovy', [Token]); // [class org.codehaus.groovy.syntax.Token][startLine]:: 9 != 8
+        doTest('core/LocalVariableDeclaration_01.groovy', [Token]) // [class org.codehaus.groovy.syntax.Token][startLine]:: 9 != 8
         doRunAndTest('core/LocalVariableDeclaration_02x.groovy')
 
     }
 
     void "test groovy core - MethodDeclaration"() {
-        doTest('core/MethodDeclaration_01.groovy');
-        doTest('core/MethodDeclaration_02.groovy');
+        doTest('core/MethodDeclaration_01.groovy')
+        doTest('core/MethodDeclaration_02.groovy')
     }
 
     void "test groovy core - ClassDeclaration"() {
-        doTest('core/ClassDeclaration_01.groovy');
-        doTest('core/ClassDeclaration_02.groovy');
-        doTest('core/ClassDeclaration_03.groovy');
-        doTest('core/ClassDeclaration_04.groovy', [PropertyNode, FieldNode]);
-        doTest('core/ClassDeclaration_05.groovy', [ExpressionStatement]);
-        doTest('core/ClassDeclaration_06.groovy');
-        doTest('core/ClassDeclaration_07.groovy');
+        doTest('core/ClassDeclaration_01.groovy')
+        doTest('core/ClassDeclaration_02.groovy')
+        doTest('core/ClassDeclaration_03.groovy')
+        doTest('core/ClassDeclaration_04.groovy', [PropertyNode, FieldNode])
+        doTest('core/ClassDeclaration_05.groovy', [ExpressionStatement])
+        doTest('core/ClassDeclaration_06.groovy')
+        doTest('core/ClassDeclaration_07.groovy')
     }
 
     void "test groovy core - InterfaceDeclaration"() {
-        doTest('core/InterfaceDeclaration_01.groovy');
-        doTest('core/InterfaceDeclaration_02.groovy');
-        doTest('core/InterfaceDeclaration_03.groovy');
+        doTest('core/InterfaceDeclaration_01.groovy')
+        doTest('core/InterfaceDeclaration_02.groovy')
+        doTest('core/InterfaceDeclaration_03.groovy')
     }
 
     void "test groovy core - EnumDeclaration"() {
-        doTest('core/EnumDeclaration_01.groovy');
-        doTest('core/EnumDeclaration_02.groovy', [ExpressionStatement]);
-        doTest('core/EnumDeclaration_03.groovy');
-        doTest('core/EnumDeclaration_04.groovy');
-        doTest('core/EnumDeclaration_05.groovy');
+        doTest('core/EnumDeclaration_01.groovy')
+        doTest('core/EnumDeclaration_02.groovy', [ExpressionStatement])
+        doTest('core/EnumDeclaration_03.groovy')
+        doTest('core/EnumDeclaration_04.groovy')
+        doTest('core/EnumDeclaration_05.groovy')
     }
 
     void "test groovy core - TraitDeclaration"() {
-        doTest('core/TraitDeclaration_01.groovy');
-        doTest('core/TraitDeclaration_02.groovy');
-        doTest('core/TraitDeclaration_03.groovy');
-        doTest('core/TraitDeclaration_04.groovy', [PropertyNode, FieldNode]);
-        doTest('core/TraitDeclaration_05.groovy');
+        doTest('core/TraitDeclaration_01.groovy')
+        doTest('core/TraitDeclaration_02.groovy')
+        doTest('core/TraitDeclaration_03.groovy')
+        doTest('core/TraitDeclaration_04.groovy', [PropertyNode, FieldNode])
+        doTest('core/TraitDeclaration_05.groovy')
     }
 
     void "test groovy core - AnnotationDeclaration"() {
-        doTest('core/AnnotationDeclaration_01.groovy');
+        doTest('core/AnnotationDeclaration_01.groovy')
     }
 
     void "test groovy core - Command"() {
-        doTest('core/Command_01.groovy');
-        doTest('core/Command_02.groovy');
-        doTest('core/Command_03.groovy', [ExpressionStatement, Parameter]);
-        doTest('core/Command_04.groovy', [ExpressionStatement]);
-        doTest('core/Command_05.groovy');
+        doTest('core/Command_01.groovy')
+        doTest('core/Command_02.groovy')
+        doTest('core/Command_03.groovy', [ExpressionStatement, Parameter])
+        doTest('core/Command_04.groovy', [ExpressionStatement])
+        doTest('core/Command_05.groovy')
 //        doRunAndTest('core/Command_06x.groovy')
     }
 
     /*
     void "test groovy core - Unicode"() {
-        doTest('core/Unicode_01.groovy');
+        doTest('core/Unicode_01.groovy')
     }
     */
 
     void "test groovy core - BreakingChanges"() {
-        doRunAndTest('core/BreakingChange_01x.groovy');
-        doRunAndTest('core/BreakingChange_02x.groovy');
-        doRunAndTest('core/BreakingChange_03x.groovy');
-        doRunAndTest('core/BreakingChange_04x.groovy');
+        doRunAndTest('core/BreakingChange_01x.groovy')
+        doRunAndTest('core/BreakingChange_02x.groovy')
+        doRunAndTest('core/BreakingChange_03x.groovy')
+        doRunAndTest('core/BreakingChange_04x.groovy')
     }
 
     void "test groovy core - Array"() {
-        doRunAndTest('core/Array_01x.groovy');
+        doRunAndTest('core/Array_01x.groovy')
     }
 
     void "test groovy core - Groovydoc"() {
-        doRunAndTest('core/Groovydoc_01x.groovy');
+        doRunAndTest('core/Groovydoc_01x.groovy')
     }
 
     void "test groovy core - Script"() {
-        doRunAndTest('core/Script_01x.groovy');
+        doRunAndTest('core/Script_01x.groovy')
     }
 
     void "test groovy core - FieldDeclaration"() {
-        doRunAndTest('core/FieldDeclaration_01x.groovy');
+        doRunAndTest('core/FieldDeclaration_01x.groovy')
     }
 
     void "test groovy core - Number"() {
-        doRunAndTest('core/Number_01x.groovy');
+        doRunAndTest('core/Number_01x.groovy')
     }
 
     void "test groovy core - SafeChainOperator"() {
-        doRunAndTest('core/SafeChainOperator.groovy');
+        doRunAndTest('core/SafeChainOperator.groovy')
     }
 
     void "test groovy core - BUG"() {
-        doRunAndTest('bugs/BUG-GROOVY-4757.groovy');
-        doRunAndTest('bugs/BUG-GROOVY-5652.groovy');
-        doRunAndTest('bugs/BUG-GROOVY-4762.groovy');
-        doRunAndTest('bugs/BUG-GROOVY-4438.groovy');
-        doRunAndTest('bugs/BUG-GROOVY-6038.groovy');
-        doRunAndTest('bugs/BUG-GROOVY-2324.groovy');
-        doTest('bugs/BUG-GROOVY-8161.groovy');
-
-        doRunAndTest('bugs/GROOVY-3898.groovy');
-        doRunAndTest('bugs/GROOVY-8228.groovy');
-
-        doRunAndTest('bugs/BUG-GROOVY-8311.groovy');
+        doRunAndTest('bugs/BUG-GROOVY-4757.groovy')
+        doRunAndTest('bugs/BUG-GROOVY-5652.groovy')
+        doRunAndTest('bugs/BUG-GROOVY-4762.groovy')
+        doRunAndTest('bugs/BUG-GROOVY-4438.groovy')
+        doRunAndTest('bugs/BUG-GROOVY-6038.groovy')
+        doRunAndTest('bugs/BUG-GROOVY-2324.groovy')
+        doTest('bugs/BUG-GROOVY-8161.groovy')
+        doRunAndTest('bugs/GROOVY-3898.groovy')
+        doRunAndTest('bugs/BUG-GROOVY-8311.groovy')
+        doRunAndTest('bugs/GROOVY-8228.groovy')
     }
 }

http://git-wip-us.apache.org/repos/asf/groovy/blob/b86c8247/subprojects/parser-antlr4/src/test/groovy/org/apache/groovy/parser/antlr4/TestUtils.groovy
----------------------------------------------------------------------
diff --git a/subprojects/parser-antlr4/src/test/groovy/org/apache/groovy/parser/antlr4/TestUtils.groovy b/subprojects/parser-antlr4/src/test/groovy/org/apache/groovy/parser/antlr4/TestUtils.groovy
index a82966f..02db2ad 100644
--- a/subprojects/parser-antlr4/src/test/groovy/org/apache/groovy/parser/antlr4/TestUtils.groovy
+++ b/subprojects/parser-antlr4/src/test/groovy/org/apache/groovy/parser/antlr4/TestUtils.groovy
@@ -34,11 +34,7 @@ import java.util.zip.ZipFile
 
 /**
  * Utilities for test
- *
- * @author  <a href="mailto:realbluesun@hotmail.com">Daniel.Sun</a>
- * Created on    2016/09/21
  */
-
 @Log
 class TestUtils {
     public static final String DEFAULT_RESOURCES_PATH = 'subprojects/parser-antlr4/src/test/resources';