Author: akazakov
Date: 2010-02-10 12:51:34 -0500 (Wed, 10 Feb 2010)
New Revision: 20223
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ContextValidationHelper.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5826
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ContextValidationHelper.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ContextValidationHelper.java 2010-02-10
16:26:17 UTC (rev 20222)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ContextValidationHelper.java 2010-02-10
17:51:34 UTC (rev 20223)
@@ -36,10 +36,20 @@
protected IValidationContext validationContext;
protected TextFileDocumentProvider documentProvider = new TextFileDocumentProvider();
- protected Map<IProject, IValidationContext> contexts = new HashMap<IProject,
IValidationContext>();
+ protected Map<IProject, IValidationContext> contexts;
/*
* (non-Javadoc)
+ * @see org.eclipse.wst.validation.internal.operations.WorkbenchContext#initialize()
+ */
+ @Override
+ public void initialize() {
+ validationContext = null;
+ contexts = new HashMap<IProject, IValidationContext>();
+ }
+
+ /*
+ * (non-Javadoc)
* @see
org.eclipse.wst.validation.internal.operations.WorkbenchContext#registerResource(org.eclipse.core.resources.IResource)
*/
@Override