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 2019/09/26 20:58:03 UTC

[groovy] branch master updated (24fe1f4 -> e57d3c5)

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

paulk pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git.


    from 24fe1f4  remove deprecated classes
     new 76ccd51  remove code for old parser
     new e57d3c5  cleanup unused import

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/main/java/org/codehaus/groovy/ast/tools/GenericsUtils.java        | 1 -
 .../groovy-console/src/main/groovy/groovy/console/ui/Console.groovy   | 4 +---
 2 files changed, 1 insertion(+), 4 deletions(-)


[groovy] 01/02: remove code for old parser

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 76ccd51c8989b83a55e1eb131dbd541cd92944c3
Author: Paul King <pa...@asert.com.au>
AuthorDate: Fri Sep 27 06:56:57 2019 +1000

    remove code for old parser
---
 .../groovy-console/src/main/groovy/groovy/console/ui/Console.groovy   | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/subprojects/groovy-console/src/main/groovy/groovy/console/ui/Console.groovy b/subprojects/groovy-console/src/main/groovy/groovy/console/ui/Console.groovy
index c5a6473..deacef8 100644
--- a/subprojects/groovy-console/src/main/groovy/groovy/console/ui/Console.groovy
+++ b/subprojects/groovy-console/src/main/groovy/groovy/console/ui/Console.groovy
@@ -1041,9 +1041,7 @@ class Console implements CaretListener, HyperlinkListener, ComponentListener, Fo
 
     void inspectTokens(EventObject evt = null) {
         def content = inputArea.getText()
-        def lf = (CompilerConfiguration.DEFAULT.pluginFactory instanceof org.codehaus.groovy.antlr.AntlrParserPluginFactory
-                ? LexerFrame.groovyScriptFactory(content) : new LexerFrame(GroovyLangLexer, org.apache.groovy.parser.antlr4.GroovyLexer, new StringReader(content)))
-
+        def lf = new LexerFrame(GroovyLangLexer, org.apache.groovy.parser.antlr4.GroovyLexer, new StringReader(content))
         lf.visible = true
     }
 


[groovy] 02/02: cleanup unused import

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit e57d3c5a8e1ce89a6587da2a465aafaeae19ba55
Author: Paul King <pa...@asert.com.au>
AuthorDate: Fri Sep 27 06:57:34 2019 +1000

    cleanup unused import
---
 src/main/java/org/codehaus/groovy/ast/tools/GenericsUtils.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/org/codehaus/groovy/ast/tools/GenericsUtils.java b/src/main/java/org/codehaus/groovy/ast/tools/GenericsUtils.java
index f3c6f92..3b715ff 100644
--- a/src/main/java/org/codehaus/groovy/ast/tools/GenericsUtils.java
+++ b/src/main/java/org/codehaus/groovy/ast/tools/GenericsUtils.java
@@ -30,7 +30,6 @@ import org.codehaus.groovy.ast.MethodNode;
 import org.codehaus.groovy.ast.ModuleNode;
 import org.codehaus.groovy.ast.Parameter;
 import org.codehaus.groovy.ast.stmt.EmptyStatement;
-import org.codehaus.groovy.control.CompilationFailedException;
 import org.codehaus.groovy.control.CompilationUnit;
 import org.codehaus.groovy.control.ResolveVisitor;
 import org.codehaus.groovy.control.SourceUnit;