mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 23:31:05 +07:00
Fix a typo in PyPep8NamingInspection
GitOrigin-RevId: 24a679e4fd66bfe4c8f972eb460741a26cf98d63
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b4ad8789d7
commit
be2fbcd7a9
@@ -104,7 +104,7 @@ public class PyPep8NamingInspection extends PyInspection {
|
||||
}
|
||||
}
|
||||
|
||||
protected LocalQuickFix[] createRenameAndIngoreErrorQuickFixes(@Nullable PsiElement node,
|
||||
protected LocalQuickFix[] createRenameAndIgnoreErrorQuickFixes(@Nullable PsiElement node,
|
||||
String errorCode) {
|
||||
List<LocalQuickFix> fixes = new ArrayList<>();
|
||||
if (node != null) {
|
||||
@@ -251,7 +251,7 @@ public class PyPep8NamingInspection extends PyInspection {
|
||||
|
||||
protected void registerAndAddRenameAndIgnoreErrorQuickFixes(@Nullable final PsiElement node, @NotNull final String errorCode) {
|
||||
if (getHolder() != null && getHolder().isOnTheFly()) {
|
||||
registerProblem(node, ERROR_CODES_DESCRIPTION.get(errorCode).get(), createRenameAndIngoreErrorQuickFixes(node, errorCode));
|
||||
registerProblem(node, ERROR_CODES_DESCRIPTION.get(errorCode).get(), createRenameAndIgnoreErrorQuickFixes(node, errorCode));
|
||||
}
|
||||
else {
|
||||
registerProblem(node, ERROR_CODES_DESCRIPTION.get(errorCode).get(), new IgnoreErrorFix(errorCode));
|
||||
|
||||
Reference in New Issue
Block a user