mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
ignore parameter for foreach (IDEA-72671)
This commit is contained in:
@@ -506,13 +506,13 @@ public class PostHighlightingPass extends TextEditorHighlightingPass {
|
||||
}
|
||||
}
|
||||
}
|
||||
/* else if (declarationScope instanceof PsiForeachStatement) {
|
||||
else if (declarationScope instanceof PsiForeachStatement && !Comparing.strEqual(parameter.getName(), "ignore")) {
|
||||
HighlightInfo highlightInfo = checkUnusedParameter(parameter, progress);
|
||||
if (highlightInfo != null) {
|
||||
QuickFixAction.registerQuickFixAction(highlightInfo, new EmptyIntentionAction(UnusedSymbolLocalInspection.DISPLAY_NAME), myUnusedSymbolKey);
|
||||
return highlightInfo;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user