Author: gavin.king(a)jboss.com
Date: 2009-01-12 11:43:36 -0500 (Mon, 12 Jan 2009)
New Revision: 898
Modified:
ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/Resolver.java
Log:
getBindingTypes() -> getBindings()
Modified: ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/Resolver.java
===================================================================
--- ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/Resolver.java 2009-01-12
16:43:03 UTC (rev 897)
+++ ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/Resolver.java 2009-01-12
16:43:36 UTC (rev 898)
@@ -317,7 +317,7 @@
Set<Bean<T>> resolvedBeans = new HashSet<Bean<T>>();
for (Bean<?> bean : beans)
{
- if (element.isAssignableFrom(bean.getTypes()) &&
containsAllBindingBindingTypes(element, bean.getBindingTypes()))
+ if (element.isAssignableFrom(bean.getTypes()) &&
containsAllBindingBindingTypes(element, bean.getBindings()))
{
resolvedBeans.add((Bean<T>) bean);
}
Show replies by date