mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
do not highlight unused foreach parameter (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) {
|
||||
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