mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
method hierarchy: don't merge methods with return types which are not substitutable (IDEA-57393)
This commit is contained in:
@@ -573,4 +573,8 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
configureFromFileText("Collections.java", StringUtil.convertLineSeparators(StringUtil.replace(text, "package java.util;", "package java.utilx; import java.util.*;")));
|
||||
doTestConfiguredFile(false, false, null);
|
||||
}
|
||||
|
||||
public void testReturnTypeSubstitutableForSameOverrideEquivalentMethods() throws Exception {
|
||||
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user