openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1477483 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/ResourceBean.java
Date Tue, 30 Apr 2013 06:28:23 GMT
Author: rmannibucau
Date: Tue Apr 30 06:28:23 2013
New Revision: 1477483

URL: http://svn.apache.org/r1477483
Log:
OWB-850 the boolean was the opposite of the expected one

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/ResourceBean.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/ResourceBean.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/ResourceBean.java?rev=1477483&r1=1477482&r2=1477483&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/ResourceBean.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/ResourceBean.java
Tue Apr 30 06:28:23 2013
@@ -39,7 +39,7 @@ public class ResourceBean<X, T extends A
         super(ownerComponent,
               beanAttributes,
               beanClass,
-              new ProviderBasedProducerFactory<X>(Dependent.class.equals(beanAttributes.getScope()),
+              new ProviderBasedProducerFactory<X>(!Dependent.class.equals(beanAttributes.getScope()),
                       new ResourceProvider<X>(resourceReference, ownerComponent.getWebBeansContext()),
                                                        beanClass,
                                                        ownerComponent.getWebBeansContext()));



Mime
View raw message