mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
don't reject static method of interfaces imported via static imports (IDEA-145504)
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
import static java.util.stream.Stream.concat;
|
||||
import static java.util.stream.Stream.of;
|
||||
|
||||
class Test {
|
||||
{
|
||||
concat(of(""), of(""));
|
||||
}
|
||||
}
|
||||
+4
@@ -82,6 +82,10 @@ public class Interface8MethodsHighlightingTest extends LightCodeInsightFixtureTe
|
||||
doTest(true, false);
|
||||
}
|
||||
|
||||
public void testAcceptStaticInterfaceMethodsImportedViaStaticImports() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
private void doTest() {
|
||||
doTest(false, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user