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/29 06:13:56 UTC

[groovy] 01/02: prepare for removal of antlr2 parser: remove unused flag

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 fdb2ca97b6c7343fa05096390eb74b78eeda45b0
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sun Sep 29 16:13:16 2019 +1000

    prepare for removal of antlr2 parser: remove unused flag
---
 .../groovy/org/apache/groovy/groovysh/InteractiveShellRunner.groovy   | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/InteractiveShellRunner.groovy b/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/InteractiveShellRunner.groovy
index bc9fedd..13fbc59 100644
--- a/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/InteractiveShellRunner.groovy
+++ b/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/InteractiveShellRunner.groovy
@@ -29,8 +29,6 @@ import org.codehaus.groovy.tools.shell.IO
 import org.codehaus.groovy.tools.shell.util.Logger
 import org.codehaus.groovy.tools.shell.util.Preferences
 
-import static org.apache.groovy.util.SystemUtil.getSystemPropertySafe
-
 /**
  * Support for running a {@link Shell} interactively using the JLine library.
  */
@@ -65,8 +63,6 @@ class InteractiveShellRunner extends ShellRunner implements Runnable {
         this.completer = new CommandsMultiCompleter()
         reader.addCompleter(this.completer)
 
-        def antlr4 = Boolean.parseBoolean(getSystemPropertySafe("groovy.antlr4", "true"))
-
         def reflectionCompleter = new org.apache.groovy.groovysh.completion.antlr4.ReflectionCompleter(shell)
 
         def classnameCompleter = new org.apache.groovy.groovysh.completion.antlr4.CustomClassSyntaxCompleter(shell)