filter out inspections, suppressed for file

This commit is contained in:
anna
2012-01-19 15:59:59 +01:00
parent ac20479d06
commit ea986c9264
2 changed files with 9 additions and 1 deletions
@@ -161,6 +161,7 @@ public class SuppressManagerImpl extends SuppressManager {
@Nullable
public PsiElement getElementToolSuppressedIn(@NotNull final PsiElement place, final String toolId) {
if (place instanceof PsiFile) return null;
return ApplicationManager.getApplication().runReadAction(new Computable<PsiElement>() {
@Nullable
public PsiElement compute() {