Skip to content

Commit af74fee

Browse files
committed
Fix useless import warning
1 parent 1965d9e commit af74fee

File tree

1 file changed

+5
-6
lines changed
  • org.eclipse.wildwebdeveloper.tests/src/org/eclipse/wildwebdeveloper/tests

1 file changed

+5
-6
lines changed

org.eclipse.wildwebdeveloper.tests/src/org/eclipse/wildwebdeveloper/tests/TestESLint.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2019 Red Hat Inc. and others.
2+
* Copyright (c) 2019, 2022 Red Hat Inc. and others.
33
*
44
* This program and the accompanying materials are made
55
* available under the terms of the Eclipse Public License 2.0
@@ -15,12 +15,11 @@
1515
import static org.junit.jupiter.api.Assertions.assertEquals;
1616
import static org.junit.jupiter.api.Assertions.assertTrue;
1717

18-
import java.io.File;
1918
import java.io.BufferedReader;
20-
import java.io.InputStreamReader;
19+
import java.io.File;
2120
import java.io.InputStream;
21+
import java.io.InputStreamReader;
2222
import java.nio.file.Files;
23-
import java.util.Arrays;
2423
import java.util.stream.Collectors;
2524

2625
import org.eclipse.core.resources.IFile;
@@ -41,7 +40,7 @@
4140
import org.junit.jupiter.api.extension.ExtendWith;
4241

4342
@ExtendWith(AllCleanRule.class)
44-
public class TestESLint {
43+
class TestESLint {
4544

4645
private IProject project;
4746

@@ -87,7 +86,7 @@ public void setUpProject() throws Exception {
8786
}
8887

8988
@Test
90-
public void testESLintDiagnostics() throws Exception {
89+
void testESLintDiagnostics() throws Exception {
9190
IFile file = project.getFile("ESLintProj.js");
9291
IDE.openEditor(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(), file);
9392
assertESLintIndentMarkerExists(file);

0 commit comments

Comments
 (0)