Author: scabanovich
Date: 2012-08-15 20:11:25 -0400 (Wed, 15 Aug 2012)
New Revision: 43053
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/src/org/jboss/tools/cdi/seam/config/core/test/SeamDefinitionsTest.java
trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/src/org/jboss/tools/cdi/seam/config/core/test/v30/SeamDefinitionsTest.java
Log:
JBIDE-12417
https://issues.jboss.org/browse/JBIDE-12417
Replaced Set by Collection in interfaces.
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/src/org/jboss/tools/cdi/seam/config/core/test/SeamDefinitionsTest.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/src/org/jboss/tools/cdi/seam/config/core/test/SeamDefinitionsTest.java 2012-08-16
00:10:09 UTC (rev 43052)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/src/org/jboss/tools/cdi/seam/config/core/test/SeamDefinitionsTest.java 2012-08-16
00:11:25 UTC (rev 43053)
@@ -11,6 +11,7 @@
package org.jboss.tools.cdi.seam.config.core.test;
import java.io.IOException;
+import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
@@ -499,7 +500,7 @@
IStereotype s = cdi.getStereotype("org.jboss.test608.SomeStereotype");
assertNotNull(s);
assertNotNull(s.getAnnotation(CDIConstants.NAMED_QUALIFIER_TYPE_NAME));
- Set<IInterceptorBinding> bs = s.getInterceptorBindings();
+ Collection<IInterceptorBinding> bs = s.getInterceptorBindings();
assertEquals(1, bs.size());
}
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/src/org/jboss/tools/cdi/seam/config/core/test/v30/SeamDefinitionsTest.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/src/org/jboss/tools/cdi/seam/config/core/test/v30/SeamDefinitionsTest.java 2012-08-16
00:10:09 UTC (rev 43052)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam.config.core.test/src/org/jboss/tools/cdi/seam/config/core/test/v30/SeamDefinitionsTest.java 2012-08-16
00:11:25 UTC (rev 43053)
@@ -11,6 +11,7 @@
package org.jboss.tools.cdi.seam.config.core.test.v30;
import java.io.IOException;
+import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
@@ -37,7 +38,6 @@
import org.jboss.tools.cdi.seam.config.core.definition.SeamParameterDefinition;
import org.jboss.tools.cdi.seam.config.core.definition.SeamVirtualFieldDefinition;
import org.jboss.tools.cdi.seam.config.core.xml.Location;
-import org.jboss.tools.cdi.seam.solder.core.CDISeamSolderConstants;
import org.jboss.tools.cdi.seam.solder.core.CDISeamSolderConstants30;
import org.jboss.tools.common.java.IJavaAnnotation;
import org.osgi.framework.Bundle;
@@ -500,7 +500,7 @@
IStereotype s = cdi.getStereotype("org.jboss.test608.SomeStereotype");
assertNotNull(s);
assertNotNull(s.getAnnotation(CDIConstants.NAMED_QUALIFIER_TYPE_NAME));
- Set<IInterceptorBinding> bs = s.getInterceptorBindings();
+ Collection<IInterceptorBinding> bs = s.getInterceptorBindings();
assertEquals(1, bs.size());
}