openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1079039 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/creational/CreationalContextImpl.java
Date Tue, 08 Mar 2011 00:07:16 GMT
Author: struberg
Date: Tue Mar  8 00:07:16 2011
New Revision: 1079039

URL: http://svn.apache.org/viewvc?rev=1079039&view=rev
Log:
OWB-530 fix wrong logic in CreationalContext 

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/creational/CreationalContextImpl.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/creational/CreationalContextImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/creational/CreationalContextImpl.java?rev=1079039&r1=1079038&r2=1079039&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/creational/CreationalContextImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/creational/CreationalContextImpl.java
Tue Mar  8 00:07:16 2011
@@ -203,7 +203,7 @@ public class CreationalContextImpl<T> im
     {
         Asserts.assertNotNull(interceptor,"Interceptor parameter can not be null");
         
-        if(ownerInstance != null || dependentObjects == null)
+        if(ownerInstance == null || dependentObjects == null)
         {
             return null;
         }



Mime
View raw message