Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X d182c9794 -> 698b38c4f


GROOVY-8569 Migrate groovy.ui.GroovyMain to picocli - minor tweaks (closes #702)


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

Branch: refs/heads/GROOVY_2_6_X
Commit: 698b38c4f592a338b527ab6221678e16f671f0be
Parents: 14c8253
Author: Paul King <pa...@asert.com.au>
Authored: Fri May 18 12:56:45 2018 +1000
Committer: Paul King <pa...@asert.com.au>
Committed: Fri May 18 12:58:00 2018 +1000

----------------------------------------------------------------------
 src/main/groovy/groovy/ui/GroovyMain.java | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/698b38c4/src/main/groovy/groovy/ui/GroovyMain.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/ui/GroovyMain.java 
b/src/main/groovy/groovy/ui/GroovyMain.java
index 61bb946..c6aee0d 100644
--- a/src/main/groovy/groovy/ui/GroovyMain.java
+++ b/src/main/groovy/groovy/ui/GroovyMain.java
@@ -34,7 +34,11 @@ import org.codehaus.groovy.runtime.ResourceGroovyMethods;
 import org.codehaus.groovy.runtime.StackTraceUtils;
 import org.codehaus.groovy.runtime.StringGroovyMethods;
 import picocli.CommandLine;
-import picocli.CommandLine.*;
+import picocli.CommandLine.Command;
+import picocli.CommandLine.Help;
+import picocli.CommandLine.IVersionProvider;
+import picocli.CommandLine.Option;
+import picocli.CommandLine.ParameterException;
 
 import java.io.BufferedReader;
 import java.io.File;
@@ -52,13 +56,10 @@ import java.net.URL;
 import java.security.AccessController;
 import java.security.PrivilegedAction;
 import java.util.ArrayList;
-import java.util.Enumeration;
 import java.util.Iterator;
-import java.util.List;
 import java.util.LinkedHashMap;
+import java.util.List;
 import java.util.Map;
-import java.util.Properties;
-import java.util.concurrent.Callable;
 import java.util.regex.Pattern;
 
 /**

Reply via email to