Author: akazakov
Date: 2012-08-28 14:21:38 -0400 (Tue, 28 Aug 2012)
New Revision: 43271
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-12503 CDI Bean types are not updated
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 2012-08-28
18:18:29 UTC (rev 43270)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2012-08-28
18:21:38 UTC (rev 43271)
@@ -829,21 +829,6 @@
return parametedType==null?null:parametedType.getType();
}
-// private void addLinkedBeanTypes(IBean bean) {
-// if(!isAsYouTypeValidation()) {
-// Collection<IParametedType> types = bean.getAllTypes();
-// for (IParametedType type : types) {
-// IType iType = type.getType();
-// if(iType!=null && !iType.isBinary()) {
-// IResource resource = iType.getResource();
-// if(resource!=null) {
-// getValidationContext().addLinkedCoreResource(SHORT_ID, beanPath,
stereotype.getResource().getFullPath(), false);
-// }
-// }
-// }
-// }
-// }
-
private void addLinkedStereotypes(String beanPath, IStereotyped stereotyped) {
if(!isAsYouTypeValidation()) {
for (IStereotypeDeclaration stereotypeDeclaration :
stereotyped.getStereotypeDeclarations()) {