groovy git commit: Refine the missing constructor for NodeMetaDataHandlerHelper

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

groovy git commit: Refine the missing constructor for NodeMetaDataHandlerHelper

sunlan
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X 405ea77f8 -> 5e6c850fb


Refine the missing constructor for NodeMetaDataHandlerHelper


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

Branch: refs/heads/GROOVY_2_6_X
Commit: 5e6c850fb927e7d58f68467027db08624e92dca9
Parents: 405ea77
Author: sunlan <[hidden email]>
Authored: Sun Jun 18 23:18:17 2017 +0800
Committer: sunlan <[hidden email]>
Committed: Sun Jun 18 23:18:17 2017 +0800

----------------------------------------------------------------------
 .../org/codehaus/groovy/ast/NodeMetaDataHandlerHelper.java    | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/5e6c850f/src/main/org/codehaus/groovy/ast/NodeMetaDataHandlerHelper.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/ast/NodeMetaDataHandlerHelper.java b/src/main/org/codehaus/groovy/ast/NodeMetaDataHandlerHelper.java
index 366873a..1287d3c 100644
--- a/src/main/org/codehaus/groovy/ast/NodeMetaDataHandlerHelper.java
+++ b/src/main/org/codehaus/groovy/ast/NodeMetaDataHandlerHelper.java
@@ -20,7 +20,6 @@ package org.codehaus.groovy.ast;
 
 import org.codehaus.groovy.GroovyBugError;
 import org.codehaus.groovy.util.ListHashMap;
-import static org.apache.groovy.parser.antlr4.GroovyLangParser.GroovyParserRuleContext;
 
 import java.util.Collections;
 import java.util.Map;
@@ -29,11 +28,7 @@ public class NodeMetaDataHandlerHelper {
 
     private NodeMetaDataHandler delegate;
 
-    public NodeMetaDataHandlerHelper(ASTNode delegate) {
-        this.delegate = delegate;
-    }
-
-    public NodeMetaDataHandlerHelper(GroovyParserRuleContext delegate) {
+    public NodeMetaDataHandlerHelper(NodeMetaDataHandler delegate) {
         this.delegate = delegate;
     }
 

Loading...