mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
ELValidationInspection becomes suppressable
This commit is contained in:
@@ -31,7 +31,7 @@ public abstract class XmlSuppressionProvider {
|
||||
|
||||
public static boolean isSuppressed(@NotNull PsiElement element, @NotNull String inspectionId) {
|
||||
for (XmlSuppressionProvider provider : Extensions.getExtensions(EP_NAME)) {
|
||||
if (provider.isSuppressedFor(element, inspectionId)) {
|
||||
if (provider.isProviderAvailable(element.getContainingFile()) && provider.isSuppressedFor(element, inspectionId)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user