[webbeans-commits] Webbeans SVN: r1128 - ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/bootstrap.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Tue Jan 20 09:14:28 EST 2009


Author: pete.muir at jboss.org
Date: 2009-01-20 09:14:27 -0500 (Tue, 20 Jan 2009)
New Revision: 1128

Modified:
   ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/bootstrap/BeanDeployer.java
Log:
minor

Modified: ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/bootstrap/BeanDeployer.java
===================================================================
--- ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/bootstrap/BeanDeployer.java	2009-01-20 14:11:11 UTC (rev 1127)
+++ ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/bootstrap/BeanDeployer.java	2009-01-20 14:14:27 UTC (rev 1128)
@@ -68,12 +68,12 @@
       AnnotatedClass<?> annotatedClass = AnnotatedClassImpl.of(clazz);
       if (manager.getEjbDescriptorCache().containsKey(clazz))
       {
-         createBean(EnterpriseBean.of(annotatedClass, manager), annotatedClass, beans);
+         createBean(EnterpriseBean.of(annotatedClass, manager), annotatedClass);
          beans.add(NewEnterpriseBean.of(annotatedClass, manager));
       }
       else if (isTypeSimpleWebBean(clazz))
       {
-         createBean(SimpleBean.of(annotatedClass, manager), annotatedClass, beans);
+         createBean(SimpleBean.of(annotatedClass, manager), annotatedClass);
          beans.add(NewSimpleBean.of(annotatedClass, manager));
       }
    }
@@ -98,9 +98,8 @@
     * Also creates the implicit field- and method-level beans, if present
     * 
     * @param bean The bean representation
-    * @param beans The set of created beans
     */
-   protected void createBean(AbstractClassBean<?> bean, AnnotatedClass<?> annotatedClass, Set<AbstractBean<?, ?>> beans)
+   protected void createBean(AbstractClassBean<?> bean, AnnotatedClass<?> annotatedClass)
    {
       
       beans.add(bean);




More information about the weld-commits mailing list