[weld-commits] Weld SVN: r5213 - cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Fri Dec 4 09:42:42 EST 2009


Author: pete.muir at jboss.org
Date: 2009-12-04 09:42:41 -0500 (Fri, 04 Dec 2009)
New Revision: 5213

Modified:
   cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/AbstractJSR299Test.java
Log:
stricter check

Modified: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/AbstractJSR299Test.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/AbstractJSR299Test.java	2009-12-04 12:14:25 UTC (rev 5212)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/AbstractJSR299Test.java	2009-12-04 14:42:41 UTC (rev 5213)
@@ -114,7 +114,7 @@
    public boolean typeSetMatches(Set<Type> types, Type... requiredTypes)
    {
       List<Type> typeList = Arrays.asList(requiredTypes);
-      return types.containsAll(typeList);
+      return requiredTypes.length == types.size() && types.containsAll(typeList);
    }
 
    public <T> Bean<T> getUniqueBean(Class<T> type, Annotation... bindings)



More information about the weld-commits mailing list