mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 15:52:01 +07:00
update mock jdk 1.7 to contain correct @Deprecated version
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
class Test {
|
||||
@Deprecated
|
||||
public final String string = "";
|
||||
|
||||
void foo() {
|
||||
@Deprecated String foo;
|
||||
}
|
||||
}
|
||||
@@ -1,15 +1,12 @@
|
||||
package com.intellij.refactoring;
|
||||
|
||||
import com.intellij.JavaTestUtil;
|
||||
import com.intellij.idea.Bombed;
|
||||
import com.intellij.psi.PsiPrimitiveType;
|
||||
import com.intellij.psi.PsiType;
|
||||
import com.intellij.refactoring.introduceField.BaseExpressionToFieldHandler;
|
||||
import com.intellij.refactoring.util.CommonRefactoringUtil;
|
||||
import com.intellij.testFramework.LightCodeInsightTestCase;
|
||||
|
||||
import java.util.Calendar;
|
||||
|
||||
/**
|
||||
* @author ven
|
||||
*/
|
||||
@@ -107,10 +104,9 @@ public class IntroduceFieldInSameClassTest extends LightCodeInsightTestCase {
|
||||
checkResultByFile("/refactoring/introduceField/afterEnclosingAnonymous.java");
|
||||
}
|
||||
|
||||
@Bombed(month = Calendar.JANUARY, day = 17)
|
||||
public void testLocalVarAnnotations() throws Exception {
|
||||
configureByFile("/refactoring/introduceField/beforeLocalVarAnnotations.java");
|
||||
performRefactoring(BaseExpressionToFieldHandler.InitializationPlace.IN_CONSTRUCTOR, false);
|
||||
performRefactoring(BaseExpressionToFieldHandler.InitializationPlace.IN_FIELD_DECLARATION, false);
|
||||
checkResultByFile("/refactoring/introduceField/afterLocalVarAnnotations.java");
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user