Skip to content

Commit 267a207

Browse files
Pankraz76Vincent Potucek
andauthored
Issue #17487: Apply RemoveUnusedImports (#11179)
Co-authored-by: Vincent Potucek <[email protected]>
1 parent 1b563ba commit 267a207

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

its/core-it-suite/src/test/resources/mng-2135/plugin/src/main/java/coreit/ItMojo.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@
3737
* under the License.
3838
*/
3939

40-
import java.io.*;
40+
import java.io.File;
41+
import java.io.IOException;
4142

42-
import org.apache.maven.plugin.*;
43+
import org.apache.maven.plugin.AbstractMojo;
44+
import org.apache.maven.plugin.MojoExecutionException;
4345

4446
/**
4547
* @goal it

its/core-it-suite/src/test/resources/mng-3038/test-project/A/src/test/java/org/apache/maven/its/it0121/A/AppTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@
1818
*/
1919
package org.apache.maven.its.it0121.A;
2020

21-
import java.io.*;
21+
import java.io.PrintWriter;
22+
import java.io.StringWriter;
2223

23-
import junit.framework.*;
24+
import junit.framework.TestCase;
2425

2526
public class AppTest extends TestCase {
2627
public void testOutput() {

its/core-it-suite/src/test/resources/mng-7587-jsr330/plugin/src/test/MyMojoTest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
import org.apache.maven.plugin.testing.WithoutMojo;
66

77
import org.junit.Rule;
8-
import static org.junit.Assert.*;
8+
9+
import static org.junit.Assert.assertNotNull;
10+
import static org.junit.Assert.assertTrue;
11+
912
import org.junit.Test;
1013
import java.io.File;
1114

src/mdo/java/InputLocation.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,8 @@
2222
import java.util.Collection;
2323
import java.util.Collections;
2424
import java.util.LinkedHashMap;
25-
import java.util.List;
2625
import java.util.Map;
2726
import java.util.Objects;
28-
import java.util.stream.Collectors;
29-
import java.util.stream.Stream;
3027

3128
/**
3229
* Represents the location of an element within a model source file.

src/mdo/java/WrapperProperties.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,13 @@
2727
import java.io.Reader;
2828
import java.io.Writer;
2929
import java.util.AbstractSet;
30-
import java.util.ArrayList;
3130
import java.util.Collection;
3231
import java.util.Collections;
3332
import java.util.Enumeration;
3433
import java.util.InvalidPropertiesFormatException;
3534
import java.util.Iterator;
36-
import java.util.LinkedHashSet;
3735
import java.util.List;
3836
import java.util.Map;
39-
import java.util.Objects;
4037
import java.util.Properties;
4138
import java.util.Set;
4239
import java.util.concurrent.CopyOnWriteArrayList;

0 commit comments

Comments
 (0)