From 42ccd0b26e43da4e23a460b6e8bf9667a95cd5e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Sat, 25 Mar 2017 10:04:21 +0100 Subject: [PATCH] IDEA-170298 Incorrect "action is not registered in plugin.xml" workaround to not trigger for IJ project #2 --- .../devkit/src/inspections/RegistrationProblemsInspection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/devkit/src/inspections/RegistrationProblemsInspection.java b/plugins/devkit/src/inspections/RegistrationProblemsInspection.java index ffd094809228..f37675ba82db 100644 --- a/plugins/devkit/src/inspections/RegistrationProblemsInspection.java +++ b/plugins/devkit/src/inspections/RegistrationProblemsInspection.java @@ -117,7 +117,7 @@ public class RegistrationProblemsInspection extends DevKitInspectionBase { checkedClass.getContainingFile().getVirtualFile() != null) { final Set componentClasses = RegistrationCheckerUtil.getRegistrationTypes(checkedClass, CHECK_ACTIONS); - if (componentClasses != null) { + if (componentClasses != null && !componentClasses.isEmpty()) { List problems = null; for (PsiClass compClass : componentClasses) {