groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject [groovy] 06/06: Trivial refactoring: remove unused imports
Date Sun, 03 Nov 2019 13:39:12 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit ebe9d61a42f3a5d4571c31a7b3d54a1cc6e1b060
Author: Daniel Sun <sunlan@apache.org>
AuthorDate: Sun Nov 3 21:37:10 2019 +0800

    Trivial refactoring: remove unused imports
---
 src/main/java/org/codehaus/groovy/control/LabelVerifier.java             | 1 -
 .../java/org/codehaus/groovy/runtime/powerassert/AssertionRenderer.java  | 1 -
 .../org/codehaus/groovy/transform/MapConstructorASTTransformation.java   | 1 -
 3 files changed, 3 deletions(-)

diff --git a/src/main/java/org/codehaus/groovy/control/LabelVerifier.java b/src/main/java/org/codehaus/groovy/control/LabelVerifier.java
index 65bb6b5..0708db8 100644
--- a/src/main/java/org/codehaus/groovy/control/LabelVerifier.java
+++ b/src/main/java/org/codehaus/groovy/control/LabelVerifier.java
@@ -27,7 +27,6 @@ import org.codehaus.groovy.ast.stmt.Statement;
 import org.codehaus.groovy.ast.stmt.SwitchStatement;
 import org.codehaus.groovy.ast.stmt.WhileStatement;
 
-import java.util.Iterator;
 import java.util.LinkedList;
 import java.util.List;
 
diff --git a/src/main/java/org/codehaus/groovy/runtime/powerassert/AssertionRenderer.java
b/src/main/java/org/codehaus/groovy/runtime/powerassert/AssertionRenderer.java
index 5644bec..e911e6c 100644
--- a/src/main/java/org/codehaus/groovy/runtime/powerassert/AssertionRenderer.java
+++ b/src/main/java/org/codehaus/groovy/runtime/powerassert/AssertionRenderer.java
@@ -22,7 +22,6 @@ import org.codehaus.groovy.runtime.InvokerHelper;
 
 import java.util.ArrayList;
 import java.util.Collections;
-import java.util.Comparator;
 import java.util.List;
 
 /**
diff --git a/src/main/java/org/codehaus/groovy/transform/MapConstructorASTTransformation.java
b/src/main/java/org/codehaus/groovy/transform/MapConstructorASTTransformation.java
index 8888960..5939c83 100644
--- a/src/main/java/org/codehaus/groovy/transform/MapConstructorASTTransformation.java
+++ b/src/main/java/org/codehaus/groovy/transform/MapConstructorASTTransformation.java
@@ -45,7 +45,6 @@ import org.codehaus.groovy.control.SourceUnit;
 
 import java.util.ArrayList;
 import java.util.HashSet;
-import java.util.Iterator;
 import java.util.LinkedHashMap;
 import java.util.List;
 import java.util.Map;


Mime
View raw message