openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1744968 - in /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans: component/creation/ProducerMethodBeanBuilder.java config/BeansDeployer.java
Date Sat, 21 May 2016 17:10:17 GMT
Author: struberg
Date: Sat May 21 17:10:17 2016
New Revision: 1744968

URL: http://svn.apache.org/viewvc?rev=1744968&view=rev
Log:
remove outdated TODOs

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/ProducerMethodBeanBuilder.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/ProducerMethodBeanBuilder.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/ProducerMethodBeanBuilder.java?rev=1744968&r1=1744967&r2=1744968&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/ProducerMethodBeanBuilder.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/ProducerMethodBeanBuilder.java
Sat May 21 17:10:17 2016
@@ -39,9 +39,6 @@ import org.apache.webbeans.util.ClassUti
 public class ProducerMethodBeanBuilder<T> extends AbstractProducerBeanBuilder<T,
AnnotatedMethod<?>, ProducerMethodBean<T>>
 {
 
-    //X TODO arne: this should get evaluated or deleted if not needed anymore
-    private boolean specialized;
-
     public ProducerMethodBeanBuilder(InjectionTargetBean<T> parent, AnnotatedMethod<?>
annotatedMethod, BeanAttributes<T> beanAttributes)
     {
         super(parent, annotatedMethod, beanAttributes);
@@ -82,7 +79,6 @@ public class ProducerMethodBeanBuilder<T
         AnnotatedMethod<P> annotatedMethod = (AnnotatedMethod<P>) annotatedMember;
         ProducerMethodBean<T> producerMethodBean
             = new ProducerMethodBean<T>(parent, beanAttributes, beanClass, new MethodProducerFactory<P>(annotatedMethod,
parent, parent.getWebBeansContext()));
-        producerMethodBean.setSpecializedBean(specialized);
         return producerMethodBean;
     }
     

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java?rev=1744968&r1=1744967&r2=1744968&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
Sat May 21 17:10:17 2016
@@ -294,7 +294,6 @@ public class BeansDeployer
                 // create beans from the discovered AnnotatedTypes
                 deployFromBeanAttributes(beanAttributesPerBda);
 
-                //X TODO configure specialized producer beans.
                 webBeansContext.getWebBeansUtil().configureProducerMethodSpecializations();
 
                 // all beans which got 'overridden' by a Specialized version can be removed
now



Mime
View raw message