mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
no StrutsProjectComponent for default project
This commit is contained in:
+1
-1
@@ -115,7 +115,7 @@ public class InspectionValidatorWrapper implements Validator {
|
||||
@NotNull
|
||||
public ProcessingItem[] getProcessingItems(final CompileContext context) {
|
||||
final Project project = context.getProject();
|
||||
if (!ValidationConfiguration.shouldValidate(this, context)) {
|
||||
if (project.isDefault() || !ValidationConfiguration.shouldValidate(this, context)) {
|
||||
return ProcessingItem.EMPTY_ARRAY;
|
||||
}
|
||||
final ExcludedEntriesConfiguration excludedEntriesConfiguration = ValidationConfiguration.getExcludedEntriesConfiguration(project);
|
||||
|
||||
Reference in New Issue
Block a user