mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
Inlining action: : minor fixes (IDEA-CR-42043)
1. MultiMap.empty() instead of new instance 2. don't process conflicts in test when ignored
This commit is contained in:
@@ -382,7 +382,8 @@ public abstract class BaseRefactoringProcessor implements Runnable {
|
||||
public static boolean processConflicts(@NotNull Project project, @NotNull MultiMap<PsiElement, String> conflicts) {
|
||||
if (conflicts.isEmpty()) return true;
|
||||
|
||||
if (ApplicationManager.getApplication().isUnitTestMode() && !BaseRefactoringProcessor.ConflictsInTestsException.isTestIgnore()) {
|
||||
if (ApplicationManager.getApplication().isUnitTestMode()) {
|
||||
if (BaseRefactoringProcessor.ConflictsInTestsException.isTestIgnore()) return true;
|
||||
throw new BaseRefactoringProcessor.ConflictsInTestsException(conflicts.values());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user