RegExp: rename

This commit is contained in:
Bas Leijdekkers
2019-03-25 11:20:54 +01:00
parent 0b6dcf6425
commit c074d98536

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.intellij.lang.regexp.inspection;
import com.intellij.codeInspection.*;
@@ -58,12 +58,12 @@ public class EmptyAlternationBranchInspection extends LocalInspectionTool {
// empty branch at end allowed, if no empty branch at beginning
continue;
}
myHolder.registerProblem(branch.getPrevSibling(), "Empty branch in alternation", new DuplicateAlternationBranchFix());
myHolder.registerProblem(branch.getPrevSibling(), "Empty branch in alternation", new EmptyAlternationBranchFix());
}
}
}
private static class DuplicateAlternationBranchFix implements LocalQuickFix {
private static class EmptyAlternationBranchFix implements LocalQuickFix {
@Nls
@NotNull