Author: akazakov
Date: 2012-08-31 14:07:36 -0400 (Fri, 31 Aug 2012)
New Revision: 43359
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
Log:
https://issues.jboss.org/browse/JBIDE-12479
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2012-08-31
17:30:02 UTC (rev 43358)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2012-08-31
18:07:36 UTC (rev 43359)
@@ -535,7 +535,7 @@
}
displaySubtask(CDIValidationMessages.VALIDATING_RESOURCE, new String[]
{file.getProject().getName(), file.getName()});
- if(!isAsYouTypeValidation() && !validatatingAll) {
+ if(!isAsYouTypeValidation()) {
coreHelper.getValidationContextManager().addValidatedProject(this,
file.getProject());
Set<IPath> dd =
getCDIContext(file).getDependencies().getDirectDependencies(file.getFullPath());
@@ -552,11 +552,6 @@
getValidationContext().addLinkedCoreResource(SHORT_ID, p.toOSString(),
file.getFullPath(), false);
}
}
- Set<IPath> resources = new HashSet<IPath>();
- collectAllRelatedInjections(file, resources);
- for (IPath p: resources) {
- getValidationContext().addLinkedCoreResource(SHORT_ID, p.toOSString(),
file.getFullPath(), false);
- }
}
CDIValidationContext context = null;