Author: scabanovich
Date: 2012-08-17 19:18:58 -0400 (Fri, 17 Aug 2012)
New Revision: 43104
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/CDISeamSolderDefaultBeanExtension.java
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/generic/GenericClassBean.java
Log:
JBIDE-12417
https://issues.jboss.org/browse/JBIDE-12417
Replaced Set by Collection in interfaces.
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/CDISeamSolderDefaultBeanExtension.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/CDISeamSolderDefaultBeanExtension.java 2012-08-17
23:13:26 UTC (rev 43103)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/CDISeamSolderDefaultBeanExtension.java 2012-08-17
23:18:58 UTC (rev 43104)
@@ -152,7 +152,7 @@
}
- public Set<IBean> getResolvedBeans(Set<IBean> result) {
+ public Collection<IBean> getResolvedBeans(Collection<IBean> result) {
Set<IBean> defaultBeans = new HashSet<IBean>();
for (IBean b: result) {
if(isBeanDefault(b)) {
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/generic/GenericClassBean.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/generic/GenericClassBean.java 2012-08-17
23:13:26 UTC (rev 43103)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.seam.solder.core/src/org/jboss/tools/cdi/seam/solder/core/generic/GenericClassBean.java 2012-08-17
23:18:58 UTC (rev 43104)
@@ -10,7 +10,7 @@
******************************************************************************/
package org.jboss.tools.cdi.seam.solder.core.generic;
-import java.util.Set;
+import java.util.Collection;
import org.jboss.tools.cdi.core.IBean;
import org.jboss.tools.cdi.internal.core.impl.AbstractBeanElement;
@@ -54,7 +54,7 @@
}
public IBean getGenericProducerBean() {
- Set<IBean> bs =
getCDIProject().getBeans(genericProducerBean.getTypeDefinition().getType().getPath());
+ Collection<IBean> bs =
getCDIProject().getBeans(genericProducerBean.getTypeDefinition().getType().getPath());
for (IBean b: bs) {
if(b instanceof AbstractBeanElement) {
if(((AbstractBeanElement)b).getDefinition() == genericProducerBean) {