disable INFORMATION level in batch results

GitOrigin-RevId: 85654b7dce5da02115b934a9274e6e3a732c976a
This commit is contained in:
Anna Kozlova
2019-04-28 14:57:18 +03:00
committed by intellij-monorepo-bot
parent acff0e52df
commit 7fdfe09817
@@ -92,7 +92,9 @@ public class MultipleVariablesInDeclarationInspection extends BaseInspection {
}
if (highlightType == ProblemHighlightType.INFORMATION
|| InspectionProjectProfileManager.isInformationLevel(getShortName(), statement)) {
registerError(statement, highlightType);
if (isOnTheFly()) {
registerError(statement, highlightType);
}
}
else {
final PsiElement nameIdentifier = ((PsiVariable)declaredElements[0]).getNameIdentifier();