Author: akazakov
Date: 2011-07-28 18:37:43 -0400 (Thu, 28 Jul 2011)
New Revision: 33329
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-9423
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 2011-07-28
22:29:16 UTC (rev 33328)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2011-07-28
22:37:43 UTC (rev 33329)
@@ -2132,7 +2132,7 @@
return false;
}
IParametedType superType =
cdiProject.getNature().getTypeFactory().getParametedType(decorator.getBeanClass(),
superInterfaceSignatures[0]);
- return superType.getSignature().equals(delegatedType.getSignature());
+ return
superType==null?true:superType.getSignature().equals(delegatedType.getSignature());
} else if(superInterfaceSignatures.length>0) {
return false;
}