mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
testdata for IDEA-132404
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package foo;
|
||||
|
||||
import foo.A.*;
|
||||
import foo.A.Person;
|
||||
import foo.B.BasicPerson;
|
||||
|
||||
class Client {
|
||||
public void method(OtherClass otherClass) {
|
||||
Person person = null;
|
||||
BasicPerson person2 = null;
|
||||
}
|
||||
}
|
||||
|
||||
class A {
|
||||
public interface Person {}
|
||||
public static class BasicPerson implements Person {}
|
||||
public static class OtherClass {}
|
||||
}
|
||||
|
||||
class B {
|
||||
public interface Person {}
|
||||
public static class BasicPerson implements Person {}
|
||||
public static class OtherClass {}
|
||||
}
|
||||
@@ -45,6 +45,10 @@ public class OptimizeImportsTest extends OptimizeImportsTestCase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testSameNamedImportedClasses() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
private void doTest() throws Exception {
|
||||
doTest(".java");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user