mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
replace duplicate (IDEA-CR-28262)
This commit is contained in:
@@ -3,6 +3,6 @@ class Test {
|
||||
class Foo {
|
||||
}
|
||||
|
||||
Foo x;
|
||||
Fo<caret>o x;
|
||||
};
|
||||
}
|
||||
+1
-5
@@ -226,11 +226,7 @@ public class JavaDocInfoGeneratorTest extends CodeInsightTestCase {
|
||||
}
|
||||
|
||||
public void testLocalClassInsideAnonymous() throws Exception {
|
||||
PsiClass testClass = getTestClass();
|
||||
PsiExpression initializer = testClass.getFields()[0].getInitializer();
|
||||
assertInstanceOf(initializer, PsiNewExpression.class);
|
||||
PsiClass localClass = ((PsiNewExpression)initializer).getAnonymousClass().getInnerClasses()[0];
|
||||
verifyJavaDoc(localClass);
|
||||
doTestAtCaret();
|
||||
}
|
||||
|
||||
private void doTestClass() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user