mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
import is redundant if imported class is located in the same directory (IDEA-52733)
This commit is contained in:
@@ -67,6 +67,10 @@ public class MoveClassTest extends CodeInsightTestCase {
|
||||
doTest("ideadev27996", new String[] { "pack1.X" }, "pack2");
|
||||
}
|
||||
|
||||
public void testUnusedImport() throws Exception {
|
||||
doTest("unusedImport", new String[]{"p2.F2"}, "p1");
|
||||
}
|
||||
|
||||
private void doTest(String testName, String[] classNames, String newPackageName) throws Exception{
|
||||
String root = JavaTestUtil.getJavaTestDataPath() + "/refactoring/moveClass/" + testName;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user