replace hardcoded clone with protected methods of Object (IDEA-150196)

This commit is contained in:
Anna Kozlova
2016-01-14 18:42:40 +01:00
parent 31ab959237
commit 59f416b7d4
3 changed files with 13 additions and 3 deletions
@@ -559,6 +559,10 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false);
}
public void testIgnoreReturnTypeClashForObjectProtectedMethodsAndInterfaceMethodsWithSameSignature() throws Exception {
doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false);
}
public void testLeastUpperBoundWithRecursiveTypes() throws Exception {
final PsiManager manager = getPsiManager();
final GlobalSearchScope scope = GlobalSearchScope.allScope(getProject());