Author: scabanovich
Date: 2011-11-29 17:13:35 -0500 (Tue, 29 Nov 2011)
New Revision: 36751
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/validation/CheckClass.java
Log:
JBIDE-10190
https://issues.jboss.org/browse/JBIDE-10190
Partially migrated validation for struts-config.xml.
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/validation/CheckClass.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/validation/CheckClass.java 2011-11-29
22:13:05 UTC (rev 36750)
+++
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/validation/CheckClass.java 2011-11-29
22:13:35 UTC (rev 36751)
@@ -162,7 +162,7 @@
fireMessage(object, NLS.bind(WebXMLValidatorMessages.CLASS_NOT_EXISTS, attr, value));
}
- public IType getValidType(String className, XModelObject o) {
+ public static IType getValidType(String className, XModelObject o) {
IProject project = EclipseResourceUtil.getProject(o);
if(project == null) return null;
IType type = EclipseResourceUtil.getValidType(project, className);