Author: scabanovich
Date: 2011-05-27 18:00:57 -0400 (Fri, 27 May 2011)
New Revision: 31553
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java
Log:
JBIDE-9020
https://issues.jboss.org/browse/JBIDE-9020
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java 2011-05-27
21:19:04 UTC (rev 31552)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java 2011-05-27
22:00:57 UTC (rev 31553)
@@ -839,7 +839,7 @@
* @return
*/
private IParametedType getEventType(IParametedType t) {
- if(t.getType() == null ||
!CDIConstants.EVENT_TYPE_NAME.equals(t.getType().getFullyQualifiedName())) {
+ if(t == null || t.getType() == null ||
!CDIConstants.EVENT_TYPE_NAME.equals(t.getType().getFullyQualifiedName())) {
return null;
}
List<? extends IParametedType> ps = t.getParameters();