openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r1072015 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java
Date Fri, 18 Feb 2011 15:05:10 GMT
Author: gpetracek
Date: Fri Feb 18 15:05:09 2011
New Revision: 1072015

URL: http://svn.apache.org/viewvc?rev=1072015&view=rev
Log:
OWB-461 fixed redundancy

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java?rev=1072015&r1=1072014&r2=1072015&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java
Fri Feb 18 15:05:09 2011
@@ -1032,7 +1032,7 @@ public class BeanManagerImpl implements 
             set = this.injectionResolver.findBySpecialization(set);
         }
         
-        if(set.size() > 0 && set.size() > 1)
+        if(set.size() > 1)
         {
             throwAmbiguousResolutionException(set);
         }



Mime
View raw message