Author: scabanovich
Date: 2011-11-08 15:01:25 -0500 (Tue, 08 Nov 2011)
New Revision: 36231
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ELValidator.java
Log:
JBIDE-10111
https://issues.jboss.org/browse/JBIDE-10111
Synchronization of set 'processedPaths' is improved.
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ELValidator.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ELValidator.java 2011-11-08
19:30:36 UTC (rev 36230)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ELValidator.java 2011-11-08
20:01:25 UTC (rev 36231)
@@ -465,7 +465,7 @@
public boolean shouldValidate(IProject project) {
boolean result = false;
try {
- if(validateBuilderOrder(project) && isEnabled(project)) {
+ if(project.isAccessible() && validateBuilderOrder(project) &&
isEnabled(project)) {
for (IELValidationDelegate delegate : DELEGATES) {
if(delegate.shouldValidate(project)) {
result = true;