mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
prefer local variables over static method references in completion
This commit is contained in:
+8
-2
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.intellij.codeInsight.completion;
|
||||
|
||||
import com.intellij.codeInsight.CodeInsightSettings;
|
||||
import com.intellij.codeInsight.lookup.LookupElement;
|
||||
import com.intellij.codeInsight.lookup.LookupEvent;
|
||||
import com.intellij.codeInsight.lookup.LookupManager;
|
||||
@@ -40,8 +41,13 @@ public abstract class LightFixtureCompletionTestCase extends LightCodeInsightFix
|
||||
|
||||
@Override
|
||||
protected void tearDown() throws Exception {
|
||||
myItems = null;
|
||||
super.tearDown();
|
||||
try {
|
||||
myItems = null;
|
||||
CodeInsightSettings.getInstance().COMPLETION_CASE_SENSITIVE = CodeInsightSettings.FIRST_LETTER;
|
||||
}
|
||||
finally {
|
||||
super.tearDown();
|
||||
}
|
||||
}
|
||||
|
||||
protected void configureByFile(String path) {
|
||||
|
||||
Reference in New Issue
Block a user